Questions tagged as 'xcode'

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

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

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

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

Parse an NSData to [String: AnyObject]

I'm trying to convert this NSData var elementos = [AnyObject]() let jsonData = try? NSJSONSerialization.dataWithJSONObject(elementos, options: NSJSONWritingOptions.PrettyPrinted) the jsonData constant carries this value: [ { "id" :...
asked by 09.06.2016 / 00:51
0
answers

How can I put a callout in an annotation of the mapview swift 4

I'm trying to show a callout (a small box with the title) in the pins that I show in the mapview but trying to do it directly shows me the title below the pin shown on the map. for i in self.listaInstructor { print("CICLO DE INSTRUCTOR")...
asked by 08.12.2018 / 20:02
2
answers

Swift: Error changing aspect to an object

I'm trying to change the texture of an object, instead of giving it a solid color, for that I added a .jpg image to the assets.xcassets folder, and then from the code I gave it the texture but I did not have the option to select it said texture....
asked by 07.10.2018 / 22:58
1
answer

STRUCT CUSTOM JSON ARRAY?

My JSON is this: { … "episodes": { "1": [ { "id": 533072, "season": 1, "episode": 1, "nombre": "La hija del general", "firstaired": "2012-1...
asked by 03.09.2018 / 20:45
1
answer

Fatal error MapKit Swift 2

Hello I was trying to load a map for my application of IOs with a certain location and the appropriate zoom was following a tutorial but in my house there is an error, I attached the image of the error that appears in addition to the map code. i...
asked by 25.05.2016 / 16:59