I want to avoid any warnings when compiling my App, now I got some warnings from Open Source as below, there is a warning in initWithRootViewController, because it needs a class UIViewController as parameter, what can I do?
@end
Code:
@interface InAppSettingsModalViewController : UIViewController {
}
@end
@implementation InAppSettingsModalViewController
- (id)init{
InAppSettingsViewController *settings = [[InAppSettingsViewController alloc] init];
self = [[UINavigationController alloc] initWithRootViewController:settings];
[settings addDoneButton];
[settings release];
return self;
}
Last edited by a moderator: