我新的目标C和我在我需要真正快速创建一个iPhone应用程序的位置,我使用的XCode 4.2UIalert视图不工作
我希望有一个弹出,我使用验证码:
在.H我
#import <AddressBook/AddressBook.h>
#import <AddressBookUI/AddressBookUI.h>
,并在.m文件
UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Confirmation"
message:@"confirmed"
delegate:self
cancelButtonTitle:@"OK"
otherButtonTitles:nil,nil];
[alert show];
鳕鱼e向我展示了一个建筑错误“预期标识符”,我忘记了什么?
感谢
检查括号匹配,parens,大括号只需双击一个,如果有匹配,选择将highlite。很好的快速测试。 – zaph
额外支架。在分配之前删除它们之一。 – Jacob
我的回答有帮助吗? – Oliver