0
이것은 모두 내 앱을 충돌시키는 코드입니다.UIWebView 크래쉬 애플 리케이션
webview의 값을 지정하는 비트입니다. 마지막 라인까지 잘 동작합니다. 때 그것은 SIGBARTS.
[cell setLabelText:[cellTitle objectAtIndex:indexPath.row]];
[cell imagesetter:[imageTitle objectAtIndex:indexPath.row]];
[cell desSetter:[desTitle objectAtIndex:indexPath.row]];
[cell changeProductWeb:[webTitle objectAtIndex:indexPath.row]];
배열입니다
webTitle = [[NSArray alloc] initWithObjects:
@"http://www.google.com/",
@"http://www.google.com/",
@"http://www.google.com/",
@"http://www.google.com/",
nil];
액션
- (IBAction) changeProductWeb:(NSString *)str{
NSURL *url = [NSURL URLWithString:str];
NSMutableURLRequest *requestObj = [NSMutableURLRequest requestWithURL:url];
[webView loadRequest:requestObj];
}
이 유일한 비트에게 충돌 프로그램입니다. 내가 그것을 제거 할 때 그것은 크래쉬를 실 거하지 않는다.
webview는 어떻게 생성됩니까? – Nekto