Get url variable
I have a application on iPad 1 and a PDF with several links.
Th开发者_如何学Ce client will click on that link and I need to get its variables values and use it on my application.
Is it possible?
Thanks in advance
Use a UIWebView and load the PDF in it. Something like this (note - it's untested but should get you on the right track!):
NSString* basePath = [[NSBundle mainBundle] bundlePath];
NSURL* baseurl = [NSURL fileURLWithPath:basePath];
[self.webView loadData:MIMEType:@"application/pdf" textEncodingName:nil baseURL:baseurl];
精彩评论