Questions tagged as 'swift2'

2
answers

I can not load my app on the iPhone

I do not know what has happened but I throw the following error, I tried everything, but from one moment to the next it became confused and it does not work for me to send my app to the iPhone: ( Now it tells me the following: A...
asked by 25.05.2016 / 23:16
2
answers

Open Url with UIImage

Use an image to open url, some do not have your url and I want you to show a message that you do not have it but I do not know how to do it     
asked by 16.08.2016 / 20:22
1
answer

How to return to the previous uinavigationcontroller

I would like to know if there is a way to go back to the previous UINavigationController so that I do not have to re-instantiate it, this is because I want to pass a variable to the previous view controller and then go to it without nee...
asked by 14.03.2016 / 11:23
2
answers

UITableView problem when it does not retrieve data from BD

Hello, I have a problem, I am very new in swift, I made a UITableview taken from a mysql database, when the webservices bring me data, there is no problem, that is, the table is loaded with the corresponding data, but when the web services bring...
asked by 02.09.2016 / 04:57
2
answers

How to pass a variable from string to double in Swift 2.

Hello I need to pass a String to Double , in this case the data will be passed from one ViewController to another via prepareForSegue and the < strong> Double I will use it to center a map in the position that you gave it by variable. ov...
asked by 29.08.2016 / 21:56
1
answer

Sort an array of dates in swift

I have this array: let arrayFechas = [2016-11-21 23:00:00 +0000, 2016-11-28 23:00:00 +0000, 2016-11-22 23:00:00 +0000, 2016-11-23 23:00:00 +0000, 2016-11-18 23:00:00 +0000, 2016-11-25 23:00:00 +0000, 2016-11-19 23:00:00 +0000, 2016-11-26 2...
asked by 21.11.2016 / 09:11
1
answer

How do I access a photo inside the photo album

I would like to know how I access a photo saved inside the photo album of the device. I used UIImagePickerController but I do not need to open the photo gallery and select the photo. I would like that through the code I send the name of t...
asked by 10.06.2016 / 20:32
1
answer

Define different Initial View Controller Swift

I'm doing an app in IOS , in which I check if a user is already registered or not. If you are registered, I show you a screen, but if it is not registered I show you another one. How can I do to show one screen or another if I have a...
asked by 30.06.2016 / 09:56
1
answer

Changes between Swift 2 and Swift 3 [closed]

Does anyone know of any page showing the changes, especially functions, between Swift 2 and Swift 3?     
asked by 28.09.2016 / 08:23
1
answer

Swift - How to work with vector images in games?

Download a pdf vector image of 36x36 pixels, to which when I zoom it does not pixelate. This image is added to the project in the folder "Assets.xcassets" and in "Scale Factors" I chose "Single Vector". But I happen to add it to my applicatio...
asked by 21.01.2016 / 01:24