Questions tagged as 'swift3'

1
answer

Sublayer not shown

Having this code: private let topView: UIView = { let view = UIView() view.translatesAutoresizingMaskIntoConstraints = false view.backgroundColor = UIColor(red: 216, green: 216, blue: 216) return view }() private lazy var type...
asked by 25.01.2017 / 19:24
1
answer

Download volume to SKAudioNode in a certain time

I am trying to download the volume to a SKAudioNode using the following code: audioNode?.run(SKAction.changeVolume(to: 0.0, duration: 3.0 )) You should lower the volume to 0.0 in 3.0 seconds. But the sound stops immediately. Is it possib...
asked by 21.10.2016 / 02:24
2
answers

Block the user's interaction momentarily swift

I need that when I click on an option in a side menu, the user's interaction is disabled until the view is loaded. If you do not block it, the view is loaded as many times as clicks have been made on the menu. I've tried this: UIApplicat...
asked by 18.10.2016 / 11:19
1
answer

Switch from one textField to another TextField when giving it to continue on the IOS keyboard

How can I go from textfield to other textfield by hitting the continue button on the keyboard of ios ?? I've tried with @IBAction but it only works for me if I change manually from textfield     
asked by 03.10.2016 / 11:04
1
answer

xcode two view_controller move between them

Good I'm doing the test of having two view_controller one called Main and another view_2 , in each one there is a button and that serves as a navigation between them, but I fail to return. In the first view controller...
asked by 05.07.2016 / 23:45
2
answers

call to URL from Swift

Good morning. Following the development of an app connected to a relay board through the network I have encountered a problem. I have a board connected to a network with an ip: 192.168.0.190 to activate or deactivate the relays simply I ha...
asked by 05.10.2016 / 17:08
0
answers

RealmSwift Dependency in pod spec

I have a project in which I used Realm, which has been installed by pruning (pod 'RealmSwift'). Now, I want to make a private pod of the product and put RealmSwift as a dependency to install when someone installs my pod. I get the followin...
asked by 21.12.2018 / 08:41
2
answers

Constraints in a chatView

I have a menu with three options, the last option is a very simple chat, when entering for the first time, the dialog balloons are well arranged, but when selecting another menu option and then returning to the chat, the balloons are aligned , c...
asked by 26.11.2018 / 19:18
0
answers

When refreshing a UITableView another UITableView is also updated

I have a problem with the UITableView, what happens is that I have a UITabBarController with 4 tabs, 2 of the tabs each have a UITableView (UITable1, UITable2) that use the same "Story" model, when requesting the information and make the UITable...
asked by 09.10.2018 / 19:58
0
answers

post Video Using Alamofire, error in the headers

I try to upload a video using Alamofire with its upload method - > multipartFormData, but I get an error 401, for the headers, it is assumed that the headers only ask me - > form-data and a token, I have it this way: func head...
asked by 03.10.2018 / 00:59