How to load a PDf file with url in Xcode with Objective-C in a UIWebView? -
i've question in objective-c, i'm working on ios application display pdf file website -box server- each file have url, me show me (( how load pdf file url in xcode objective-c in uiwebview ??))
it easy. here example:
nsurl* url = [nsurl urlwithstring:@"http://www.catvets.com/public/pdfs/clientbrochures/friendsforlifebrochure-purina.pdf"]; nsurlrequest* request = [nsurlrequest requestwithurl:url]; [_webview loadrequest:request]; when html arrives, display in uiwebview.
Comments
Post a Comment