标签: ios4
NSArray* allPersons = (NSArray*)ABAddressBookCopyArrayOfAllPeople(addressBook);
我收到Use of undeclare identifier addressbook错误。为什么呢?
Use of undeclare identifier addressbook
答案 0 :(得分:0)
您获得的错误可以回答您的问题。您正在将addressBook传递给该函数,但尚未定义addressBook。
addressBook