alexrothenberg / motion-addressbook

MIT License
89 stars 30 forks source link

iOS7 support #42

Closed jmay closed 10 years ago

jmay commented 11 years ago

I installed Xcode5 (DP4) and everything doesn't work out of the box. Fix whatever needs fixing (and make sure not to break iOS6 compatibility).

So far it looks like something is broken with creating new Person records.

jmay commented 11 years ago

Xcode5 final is out.

ABAddressBookCopyArrayOfAllGroups() is now returning nil, though simulator Contacts app shows 2 groups present.

jmay commented 11 years ago

Oops, was calling ios5_create for iOS7.

Simulator now does access authorization!

jmay commented 11 years ago

That authorization check causes rake spec to blow up, though it works the second time. This will probably bite us on Travis.

jmay commented 11 years ago

Synchronous callback in request_authorization doesn't work correct in the iOS7 simulator - the popup never appears while the console is running. Seems to work fine when I provide a callback.