は私のコードは、私がstringByEvaluatingJavaScriptFromString
後に何を置くべきUIWebViewのpdfページを移動するには?私はこちらのページで</p> <p>をpdfファイルをスクロールしようとしている
-(void)viewDidLoad{
NSString *path = [[NSBundle mainBundle] pathForResource:@"myPdffile" ofType:@"pdf"];
NSURL *url = [NSURL fileURLWithPath:path];
NSURLRequest *urlrequest = [NSURLRequest requestWithURL:url];
[webview loadRequest:urlrequest];
webview.scalesPageToFit = YES;
[super viewDidLoad];
}
//goto next page
-(IBAction)nextpage{
[webview stringByEvaluatingJavaScriptFromString: ?????? ];
}
//goto previous page
-(IBAction)prevpage {
?????
}
のですか?
"prevpage"に同じコードを挿入しますか?
ありがとうございました!
[iPhone UIWebView PDF Page Jump](http://stackoverflow.com/questions/1974304/iphone-uiwebview-pdf-page-jump) – bummi