Hi all,
I recently started compiling my iPhone application against the 3.0 OS. The app worked fine when compiled against 2.2.1 however, compiling against 3.0 yields the following warning:
warning: type 'id ' does not conform to the 'UIActionSheetDelegate' protocol
This occurs on the 2nd line of the following code snippet which is in my app delegate class.
+ (PooClientAppDelegate*) instance;
{
UIApplication* app = [[UIApplication sharedApplication] delegate]; // warning occurs here
return (PooClientAppDelegate*)app;
}
I'm not sure where this error is coming from as it didn't appear when building against the older SDK's.
As another clue or piece of evidence, when running the app, none of the action sheets appear and instead the default choice for my actions sheets are automatically selected. I'm unsure whether this is related but sounds like a little more than a coincidence.
Any ideas whats going on here?