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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -