Questions tagged as 'ios'

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
1
answer

Core Data RelationShip Swift

I have the following example to understand the relationships between entities in Core Data , (brand model), I have car brands respectively and now I want to add models to these car brands for this I have registered in vieDidLoad som...
asked by 30.04.2016 / 22:14
0
answers

audio tag html5 does not play streaming on iOS

I have a website that has the audio tag if the source of the audio is an mp3 file works on iOS. But it turns out that if the source of the audio is an audio streaming iOS does not play anything. The iOS version is 10.3.3. Thanks <audio cont...
asked by 17.12.2018 / 16:20
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

Use Core Data with Sprite Kit

I'm doing a game in Swift with SpriteKit, it happens that it does not give me the option to save the data with Core Data. I am doing it by saving the data in a file, but since there are a lot of data my array is like this: [String : [[Stri...
asked by 29.03.2016 / 21:51
1
answer

How can I know when the SKScene is fully loaded to make a "loading ..." screen?

The scene executes all the functions, but in old equipment (such as the 4S or 5C) the nodes are delayed for about 2 seconds (sometimes a little more or a little less) I print: print("antes") //sprites y matrixSprites son SKSpriteNode sprite...
asked by 24.06.2016 / 00:47
1
answer

Is it possible to program Swift in Windows?

I have a question for a while, since in the Mac one can program for IOS and for Android without problems, my question is, is it possible to program Swift (Ios) with the same potential and quality from a PC with Windows? ?. I would like to kno...
asked by 15.07.2018 / 19:57
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
0
answers

Ionic gets the contacts very slow

By obtaining the contacts through the cordova-plugin-contacts plugin. When I run the script to get about 300 contacts is very delayed, it lasts 8 seconds approximately, does anyone know a solution? Ionic Info: cli packages: (/ usr / local...
asked by 12.07.2018 / 18:58
0
answers

Image in ios is unbalanced [closed]

I'm doing an app for mobile devices with ios. The thing is that in the splash screen I want to put an image (UIImageview) but depending on the model of iphone (simulator) the image is unbalanced. How can I make it adapt to the device with which...
asked by 26.03.2018 / 20:50