[
https://issues.apache.org/jira/browse/CB-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-928.
---------------------------------
Resolution: Duplicate
Fix Version/s: 1.9.0
Dupe of CB-915 - workaround available in that issue as well.
> __init method are called two times when CDVViewController init.
> ---------------------------------------------------------------
>
> Key: CB-928
> URL: https://issues.apache.org/jira/browse/CB-928
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 1.8.1
> Reporter: Bright
> Assignee: Shazron Abdullah
> Fix For: 1.9.0
>
>
> 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];
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira