Questions tagged as 'ios'

1
answer

You are not accepting to click the annotation for the second time

I'm using an annotation customization in my mapkit project (swift 3) to show more than one annotation (pin) on the map. It is showing and you can click annotationn, but only the first time. So I can click and annotate and open it, only if I clic...
asked by 08.11.2016 / 17:53
1
answer

Swift json deserialize

Hello, I have the following code to deserialize a json: let urlFinal = URLSERVIDOR+"/Geral/consulta?idcliente=\(id)" let jsonUrl = urlFinal let session = NSURLSession.sharedSession() let shotsUrl = NSURL(string: jsonUrl...
asked by 06.11.2016 / 01:41
1
answer

When you click on a button the Keyboard closes using Ionic

Has anyone ever gone through this? I would like the keyboard to remain open, type WhatsApp, messenger, that you send the message and the keyboard is still open. I'm using Ionic and developing for android 6.0 (marshmallow)     
asked by 26.09.2016 / 01:15
2
answers

Save object in a session in Swift (IOS)

I have a class and inside a subclass import Foundation import ObjectMapper class Aluno: Mappable { var ra:String! var senha:String! var nome:String! var cpf:String! var email:String! var matricula:Matricula! requi...
asked by 11.08.2016 / 02:45
1
answer

Instantiate object in swift and populate with data from a webapi

I have already researched a number of YouTube sites and videos and can not find anything about it, if anyone is willing to show me this code, thank you, because I do not just look at the Apple documentation, I would like an explanation from some...
asked by 22.09.2016 / 17:24
2
answers

How to call a viewcontrolller runtime

Friends I just need to open a ViewController, and I'm giving it silly, could help. Who can help .... Thanks. . LoginViewController *tela2 = [self.storyboard instantiateViewControllerWithIdentifier:@"login"]; [self presentViewController:tela2 a...
asked by 01.08.2016 / 15:38
1
answer

ios does not receive push notifications

The problem is this, in my app the server sends notifications to the users but I do not know why the devices are not receiving the notifications. What I've tested: Server side sends the notifications without problems (active and correct ce...
asked by 19.08.2016 / 16:30
1
answer

Create a structure from an xml

I'm using the SWXMLHash Framework to read the XML and I need to somehow create the following structure from XML Structure to be created: Catalogo Book1 Autor = Gambardella Genre = Computer Book1 Book2 Autor = Ralls...
asked by 10.06.2016 / 20:11
1
answer

Put a line in a UITabBarItem?

How to place a line at the bottom of a UITabBarButton just like in this image: But this line should only appear on the selected button.     
asked by 13.04.2016 / 15:38
1
answer

IOS - how do I find the screen size of the user's device?

I would like to know if there is a way to find out the size of the screen that the user is using or the model of your iPhone via Objectice-C.     
asked by 28.03.2016 / 20:01