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

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -