Using Cocoa Touch Tutorial: Extract Address Book Address Values on iPhone OS

前端 未结 1 585
渐次进展
渐次进展 2021-01-05 18:58

I\'ve followed the following tutorial, in the simulator it works great, however on my phone when select the address, Google maps launchs, I think I\'ve fried my brain on thi

相关标签:
1条回答
  • 2021-01-05 19:49

    In

    -[ABPeoplePickerNavigationControllerDelegate peoplePickerNavigationController:shouldContinueAfterSelectingPerson:property:identifier:]

    you need to return NO in order not to launch Google Maps. Returning YES would continue with the default action, which on the device is launching Google Maps.

    0 讨论(0)
提交回复
热议问题