Next, I'm now starting with Swift and iOS programming. I have a question: how to validate 2 different textFields?
For example, I managed with the code below to do the validation of 1 single field, but the problem that my application has 4 fields...
Hello, I'm new to swift and this week I came across a problem that is already making me pull out my hair!
What happens is the following, divided in my application in several classes to leave my code more "straightened" and in this wave I decided...
I'm making an APP on xCode that uses the camera to make videos but I can not use the camera through the Simulator.
Is there any way to enable the camera for the Simulator?
Friends I just need to open a ViewController, and I'm giving it silly, could help.
Who can help .... Thanks. .
LoginViewController *tela2 =
[self.storyboard instantiateViewControllerWithIdentifier:@"login"];
[self presentViewController:tela2 a...
Hello.
I'm trying to work with Picker View to display a combination of values.
var pickerDataSource = [["a", "b", "c", "d"],["1","2","3","4"]];
Doubt is; how do I get results within a condition?
if(row == 0)
{
self...
Hello, take it easy with me because I am extremely beginner.
I'm trying to change the root of an application I'm trying to do. It even worked when I commented on window!.rootViewController = centerContainer
But when I do this, the m...
I'm trying to run code that keeps the screen always on, it works perfectly when I'm inside the APP, but if I minimize or close it, it will not work.
NOTE: I am using UIKit.framework
code that keeps the screen lit:
[[UIApplication sharedA...
I want to navigate between the ViewController of an app by clicking a button and switching from one to another for example. But I did not want to do this for the .storyboard, I want to do it directly via code. It's possible? If so, how can I do...