//重写callwebview getter方法
- (UIWebView *)callWebview
{
if (!_callWebview) {
self.callWebview = [[[UIWebView alloc]init ] autorelease];
//记得添加到view上
[self.view addSubview:self.callWebview];
}
return [[_callWebview retain]autorelease];
}
原文:http://qccccc.blog.51cto.com/6004423/1548890