Questions tagged as 'ios'

1
answer

Declare a two-dimensional array that contains a Swift dictionary?

I need to create a two-dimensional array that contains a dictionary. I've declared it this way but it throws me wrong var miArray = [String: AnyObject][ ][ ] To fill it in, it would be: miArray[columna][linea] = ["llave1":"dato1", "llave2...
asked by 27.03.2018 / 14:04
1
answer

Email Form Swift 3

I am trying to create a view to send messages to recipients that will be in a database in CoreData, I would like it if someone knows how to implement a view as well as Gmail. That in the para could be displayed the list of contacts, do search...
asked by 20.07.2017 / 18:36
1
answer

Replace string

How can I replace this string with another regardless of whether the value is 2 or 4 or 5 <font size=\"2\" Now I have it like this: replacingOccurrences(of: "font size=\"2\"", with: "font size=\"4\"") But a 2 will not always come by...
asked by 18.04.2017 / 10:44
1
answer

Error sending notifications to iOs devices

I am implementing sending notifications from a .jar, notifications in
asked by 12.04.2017 / 10:15
1
answer

Error in constraint with one view inside another

I have a login view with a label and a text box. In turn, this view is inside the main view of the view. When executing the application it does not show me the view with login and I get the following warning message: '[LayoutConstraints] Unab...
asked by 30.03.2017 / 18:00
1
answer

Create cron on iOS

I'm trying to make a cron that runs every X time on the iOS system to send some data to the server. I have read that there is no way to access a cron on a device that does not have a jailbreak. Researching a bit I found that the closest thing...
asked by 13.12.2016 / 17:29
1
answer

I can not use the xcode ios simulator

I have updated to xcode 8 , and my project to swift 3 . The problem is that now I can not use the simulator, I can only run the app on an iphone The app is not released, only the Launch.storyboard appears and then th...
asked by 05.10.2016 / 09:58
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

Image load mismatched swift

Hello in my project of xcode with swift add a gallery of images carousel style what happens in this case is that whenever you loaded the image the first time it runs down and with a white space above only happens in the first image and when the...
asked by 01.06.2016 / 22:00
1
answer

UIAlertController with activity indicator when loading JSON

I am loading JSON in my UIViewController in the following way and I need to see a UIAlertController with a Activity Indicator that is automatically hidden when the JSON is fully loaded. override func viewDidLoad() { A...
asked by 22.02.2016 / 13:43