ios - Symbol not found: ABAddressBookCreateWithOptions -
i've been working on iphone app can brings contacts iphone device app , i've read addressbook privacy control , ios6 need abaddressbookcreatewithoptions , , working in ios6 if i'm running app in ios5 , below i'm getting error : objective c symbol not found: abaddressbookcreatewithoptions , please provide me solution run app in ios6 , below versions ... ...
a cleaner approach check symbol @ runtime:
-(bool)isabaddressbookcreatewithoptionsavailable { return &abaddressbookcreatewithoptions != null; }
take @ this answer full ios 5/6 compatible approach reading contacts address book.
Comments
Post a Comment