コンバートWebViewのためにここに
スタートし、データベース
に保存します私は、これはあなたの詳細について
CGSize sixzevid=CGSizeMake(1024,1100);
UIGraphicsBeginImageContext(sixzevid);
[webview.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
NSData *imageData = UIImagePNGRepresentation(viewImage);
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *pathFloder = [[NSString alloc] initWithString:[NSString stringWithFormat:@"%@",@"new.png"]];
NSString *defaultDBPath = [documentsDirectory stringByAppendingPathComponent:pathFloder];
[imageData writeToFile:defaultDBPath atomically:YES];
は、以下のチェックに役立つと思いますリンク http://www.iphonedevsdk.com/forum/iphone-sdk-development/21451-save-contents-uiwebview-pdf-file.html
@JohnWhiteあなたは正解として私の答えをクリックしてください – Deepak
はい、その少し助けフル...しかし、それはwebviewの可視領域のためだけに画像に変換する – JohnWhite
私たちは、webviewのテキストのサイズを減らすことができますが、私はどのようにwiki .....下のリンクは、あなたがウェブ上のテキストのサイズを縮小するのに役立ちますこのリンクを試すhttp://stackoverflow.com/questions/589177/how-to-increase-font-size-in-uiwebview – Deepak