Questions tagged as 'swift3'

2
answers

Error with ImagePicker in swift 3

I'm trying to get an image of the camera or the library. I can take the image, the problem is that it does not save it. I have set print test but I also do not get the delegated function to save the image. var imagePicker = UIImagePi...
asked by 04.10.2016 / 13:30
1
answer

Passing textbox data to an IOS 10 Swift 3 table

I need to pass data to a table on another screen, in this case vehicle, check detail. the vehicle as title and the detail as subtitle in the first table and likewise the options selected in the table should be assigned to the vehicle and disp...
asked by 08.11.2016 / 17:45
0
answers

Get token for push notifications error

With the same application with xcode 8 and ios 10 on an iPhone 5 and on an iPhone 6 it returns token, however, when I try with the iphone 6s it does not return token and it is allowed notifications, etc ... I do not know if someone else has e...
asked by 22.09.2016 / 11:30
1
answer

Error NSMutableURLRequest swift

I have this code: let urlString = "https://roads.googleapis.com/v1/snapToRoads?path=" let url = URL(string: urlString) print(url)// Escribe=> nil let request = NSMutableURLRequest(url:url)//Aqui da error the error it gives is: fatal e...
asked by 20.10.2016 / 13:36
1
answer

Convert a String to Array [Int] and vice versa

Help me please!    STRING to ARRAY [Int] input: var str = "4869" output: var num:[Int] = [4,8,6,9]    ARRAY [Int] to STRING input: var num2:[Int] = [5,8,9,6] output: var str2 = "58...
asked by 13.05.2018 / 21:54