Questions tagged as 'objective-c'

1
answer

How do I know when the app is unzipped on iOS?

I am developing an application that sends push notification, but so my server does not send notifications to the devices from which my application was uninstalled and not polluting my server, how could I know when User Uninstalled My Applicati...
asked by 16.11.2014 / 04:28
3
answers

How to return points within a radius?

I'm working on an app where I would need to return points (Lat, Long) in a radius of size X (Km) from the user's location (Lat, Long). I have come up with the following logic: Get the user's current location Enter the location of the user...
asked by 11.04.2015 / 19:09
1
answer

How to add button on numeric keyboard in iOS

I'm developing an app that on one of the screen there is only two UITextField , one alphanumeric and one numeric. If you have a problem, the keyboard alpha has the return / next button, but the numeric keypad does not. Initially my idea...
asked by 18.02.2014 / 00:09
1
answer

How to pass data (string) from a class to the Viewcontroller TextField

I want to pass data from a class of type NSObject to be shown in my TextField Viewcontroller . I tried to use the prepareForSegue function but could not. Someone knows how to pass the data, even if it is using the prepa...
asked by 30.05.2014 / 14:04
2
answers

Open facebook link in iOS Safari

Scenery: I have an app, which links to a particular page on facebook. When the user clicks the link, it should be directed to the page and loaded with Safari. However, if the user has the Facebook App installed on the iPhone, iOS direct...
asked by 20.01.2015 / 23:00
2
answers

How to send data to web service using AFNetworking?

I have a form that must be completed in the application and sent to the web service to register a new user. How could you send this data to the web service using AFNetworking 2.0? I tried to use the code below, but returned an error: NSD...
asked by 05.11.2014 / 19:07
2
answers

Creating an Array with the Keys of a Dictionary

I have a dictionary according to the image below and I would like to play the names of the dictionary keys medicaments for an array, how I can accomplish this function     
asked by 12.05.2014 / 19:23
2
answers

IOS - How to program the navigation between ViewController direct in viewDidLoad?

I want to navigate between the ViewController of an app by clicking a button and switching from one to another for example. I wanted to run this directly in the viewDidLoad of the ViewController1, if the user has already registered, I will send...
asked by 29.02.2016 / 13:58
1
answer

Is there any easier way for phone textfield?

- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string{ int length = [self getLength:textField.text]; //NSLog(@"Length = %d ",length); if(length == 11) { if(range.lengt...
asked by 18.03.2014 / 21:18
1
answer

Keep alive object in memory for another class

Hello! I have a very simple question, as I have already found a solution for her, but it still seems problematic to me. I'll explain: I created a web service connection to receive some data, and in the end I am storing this data in a dictiona...
asked by 15.07.2014 / 18:00