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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -