[ https://issues.apache.org/jira/browse/CB-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Jerolimov closed CB-2397. ----------------------------------- Resolution: Invalid Sorry, didn't see that or it was only a problem in earlier versions. (But i don't think so.) > iOS: Enable non-file:// startPages for CordovaView apps > ------------------------------------------------------- > > Key: CB-2397 > URL: https://issues.apache.org/jira/browse/CB-2397 > Project: Apache Cordova > Issue Type: Improvement > Components: iOS > Affects Versions: 2.4.0 > Reporter: Christoph Jerolimov > Priority: Minor > > Method {{CDVViewController viewDidLoad}} is really long and not extendable. > At the beginning of this method the property {{startPage}} was transferred > into an {{appURL}} or an {{loadErr}}. Used at the very very end of this more > than 100 lines of code. > To allow apps to extend the {{CDVViewController}} and load other content than > a simple URL please externalize the start code to something like > {{startRequest}}. No error handling, esp. no filesystem checks are needed > here. > If it's required to show an "file not found" error it's better to implement > this in the {{webView:didFailLoadWithError:}} webview delegate callback. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira