Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.8.1
-
None
Description
The problem is that __init method are called two times when CDVViewController is inited, which caused the log are printed two times in console in printMultitaskingInfo method.
- (id) initWithNibName:(NSString*)nibNameOrNil bundle:(NSBundle*)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; return [self __init]; // Can this [self __init] be removed? }
- (id) init
{
self = [super init];
return [self __init];
}