Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-928

__init method are called two times when CDVViewController init.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.8.1
    • 1.9.0
    • cordova-ios
    • 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];
        }

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            bright60@gmail.com Bright
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: