ここで、mywebpage から html を取得しようとしていますが、何かが間違っています。これが私のコードです。controller.h ファイルで html 文字列を宣言しました。
[NSURLConnection sendAsynchronousRequest:urlRequest queue:queue completionHandler:^(NSURLResponse *responde,NSData *Data,NSError *error){
html=[[NSString alloc] initWithData:Data encoding:NSUTF8StringEncoding];
//NSLog(@"%@",html); //WORKING
}];
NSLog(@"%@",html); //NOT WORKING