它說的UIAlertView中沒有明顯的@interface declears選擇
的UIAlertView中沒有明顯的@interface declears選擇 「initWithTtile:消息....
這是我有─
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error" message:[NSString stringWithFormat:@"Error %@, here is your error", [error description]] delegate: nil cancelbuttonTitle:@"Cancel" otherButtonTitles:nil, nil];
@Alexander這與錯誤沒有任何關係。 – rmaddy
方法名稱區分大小寫。仔細檢查你的拼寫。並始終使用Xcode方法名稱完成。它避免了這樣的簡單錯誤。 – rmaddy
checlk我的回答對你真的很有幫助... – Jitendra