Skip to main content
6 events
when toggle format what by license comment
Dec 17, 2012 at 8:14 vote accept Brandon
Dec 17, 2012 at 8:14 comment added Matthias Bauch If you want to use the notification pattern you have to register for the notification in your AppDelegate. Please read Notification Programming Topics
Dec 17, 2012 at 8:10 comment added Brandon Oh ok got it. Do I need to tell the appDelegate something for it to run this bit of code? or will it run automatically?
Dec 17, 2012 at 8:09 comment added Matthias Bauch sure, once you have it you can do whatever you want with the address. You just have to find a way to tell the rest of your app that you received the address. Keep in mind that you don't know how long it will take until the address is found. It could be within a couple of milliseconds, or take half a minute.
Dec 17, 2012 at 8:07 comment added Brandon thanks! could I store it in NSuserdefaults? NSString *valueToSave = address; [[NSUserDefaults standardUserDefaults] setObject:valueToSave forKey:@"address"];
Dec 17, 2012 at 8:04 history answered Matthias Bauch CC BY-SA 3.0