Display pdf from the weburl iphone sdk -


I am working on a project, I want to display a PDF on the website, I have a PDF URL Besides how I can do this, I want to make PDF thumbnails on the website.

You can display a PDF

  UIWebView * webView = [[UIWebView alloc] initWithFrame: CGRectMake (0, 0, 360, 420)] in your device.  

; NSURL * targetURL = [NSURL URLWithString: @ "http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIWebView_Class/UIWebView_Class.pdf"]; NSURLRequest * Request = [NSRR request request with url: targetURL]; [WebView loadRequest: request]; [Self.view addSubview: webView]; [Webview release];

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -