开发者

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜