I’m using a UIWebView with text and picture in it.I want to do something like this: when I double tap the picture in the UIWebView, it will become a fullscreen preview model. Could anyone give me some advises or solutions ? Thx very much!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is what i have at the moment, set the UIWebViews Delegate to self then add this:
Just make the image a link in the html like you would normally. If you have other links that you don’t want to load in a model then you can mod the code to detect if the link being pressed is going to an image otherwise just return YES;
I’m having a little problem with my webview which i have posted here (just incase you get the some problem!!) UIWebView gets cleared after dismissing a fullscreen modal
Hope this helps!