Skip to content Skip to sidebar Skip to footer

IOS 6 "HTML Input File Tag" Doesn't Work If Load The Web Page In UIWebView

We know that in iOS 6 mobile safari supports HTML input file tag to upload images. I just created an HTML file like this and it worked fine in mobile safari. But when I loaded it i

Solution 1:

I have sorted it out. This is due to I put the UIWebview loading web page function in "-viewWillAppear:(BOOL)animated". So each time when the "take photo" modal view hides, the UIWebview reloads the url. I have fixed it and I can confirm now that the HTML input file tag upload function works well in UIWebview, too.


Post a Comment for "IOS 6 "HTML Input File Tag" Doesn't Work If Load The Web Page In UIWebView"