Questions tagged as 'ios'

1
answer

Converting String to date Swfit 3

Hello, I'm trying to convert a String to Date in Swift 3. But the date is always returning me two more hours. Below is my code. let dateFormatter = DateFormatter() dateFormatter.dateFormat = "dd-MM-yyyy HH:mm:ss" dateFormatter.locale =...
asked by 13.12.2017 / 12:54
1
answer

How to get a unique device identifier for IOS

In development for Android you can set whether a smartphone is unique through your IMEI or MAC , and may not be the best way to only identify a mobile device, but it works very well. On the other hand, Apple no longer allows developers...
asked by 19.01.2018 / 15:11
1
answer

Share iOS texts

How do I share text on social networks in an iOS App in Swift 3? I have several random phrases in an array and if the person likes any I would like to let the same share such a phrase. How would the one-button code to open options between sharin...
asked by 22.09.2017 / 14:21
1
answer

Setting height for UIScrollView

I'm creating an application for iOS using Swift , I'm having a lot of difficulty regarding height of UIScrollView , I'm using auto-layout and I create the following structure: UIScrollView UIView // View where I...
asked by 07.07.2017 / 03:22
1
answer

IOS navigation bar button image

I need to add two buttons in the navigation bar of my app, but what I need to use an external image (already imported to the project) does not appear. override func viewDidLoad() { super.viewDidLoad() //Esse botão aparece...
asked by 06.10.2017 / 12:54
2
answers

Load items from a plist

I'm having trouble loading the items on a property list. Note my plist: Here'smyfirstViewController:importUIKitclassPage1:UITableViewController{varfilePath:String?varemployees:[[String:Any]]=[]overridefuncviewDidLoad(){super.viewDidLoad()self.t...
asked by 26.03.2017 / 04:12
1
answer

Command to comment several lines in Xcode?

Hello Is there any shortcut to commenting on multiple lines in Xcode? I mean, I use /*...*/ today, but I have to go to the beginning of the block to mark the beginning and do the same until the end.     
asked by 24.03.2017 / 14:32
3
answers

Different Layout for Landscape

Good afternoon. I do not know how to do a different layout, specific to landscape ... but I wanted to do that in storyboard not in code, does anyone know? Thanks.     
asked by 12.05.2017 / 20:06
1
answer

Android Applications / iOs HTML [closed]

I need to develop a mobile application, I would like to do in the application style of the globe, which is a responsive website that is displayed, which program should I use to develop in html and be compiled for platforms?     
asked by 13.03.2017 / 16:46
1
answer

Insert uilabel or uibutton into an image

I would like to know if there is a way to create a link in a text using label or button inside an image. To insert text in an image simply insert: campotexto.draw and to insert label or button someone knows if there is any way ? Thank you in adv...
asked by 04.02.2017 / 22:57