Closed halypot closed 2 years ago
OCRunner version: 1.2.5
description: 热更代码创建基类,BaseViewController、热更代码创建ViewController3继承于BaseViewController,会导致崩溃
@interface HotBaseController : UIViewController @end
@implementation HotBaseController
@interface ViewController3 : HotBaseController @end
@interface ViewController3 () @end @implementation ViewController3
执行push时会崩溃 UIViewController *vc = [[NSClassFromString(@"ViewController3") alloc] init]; [self.navigationController pushViewController:vc animated:YES];
PS:如果要实现增量更新,这个问题不能忽略哦,作者阁下
1.2.7 已经解决此问题
OCRunner version: 1.2.5
description: 热更代码创建基类,BaseViewController、热更代码创建ViewController3继承于BaseViewController,会导致崩溃
@interface HotBaseController : UIViewController @end
@implementation HotBaseController
@interface ViewController3 : HotBaseController @end
@interface ViewController3 () @end @implementation ViewController3
执行push时会崩溃 UIViewController *vc = [[NSClassFromString(@"ViewController3") alloc] init]; [self.navigationController pushViewController:vc animated:YES];
PS:如果要实现增量更新,这个问题不能忽略哦,作者阁下