Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
Description
Currently the template defined AppDelegate.m/.h make the AppDelegate a UIWebViewDelegate and a CDVCommandDelegate, instead of letting the MainViewController handle them.
MainViewController is already a UIWebViewDelegate + CDVCommandDelegate as it inherits this functionality from the base class :
@interface CDVViewController : UIViewController<UIWebViewDelegate, CDVCommandDelegate>
We could still leave stubbed or commented versions of these methods in MainViewController so developers familiar with ObjC would know how/where to override them, but the base class is already correctly handling these events.