"warning: type 'id<UIApplicationDelegate>' does not conform to the 'UIAlertViewDelegate' protocol"

이 Warning은 아래와 같이 소스를 짰을 때 난다.
MyAppDelegate *appDelegate = [[UIApplication sharedApplication] delegate];

해결방법은 아래와 같다.
MyAppDelegate *appDelegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate];



Posted by Jyui