我想从storyBoard里面使用这个View的时候, 可以在里面加入初始化方法吗?
JiaLiangoooo opened this issue · comments
Jialiang commented
#UIWebView
- (instancetype)initWithCoder:(NSCoder *)aDecoder {
self = [super initWithCoder:aDecoder];
if (self) {
self.scalesPageToFit = YES;
self.delegate = self;
}
return self;
}
duwen commented
不建议在storyBoard中使用