I have a requirement of Hiding a header or div before displaying the html in UiwebView.I tried the injecting js in webViewdidFinishLoad but it has some problem ie first it load and show the html and then removing the header.
Asked
Active
Viewed 760 times
1 Answers
0
This would be easier to do server side, use javascript to hide the header and then at the bottom of the page have a script that loads to unhide the header. EGood refrences: javascript hide/show element How can I hide a page contents until all the images are fully loaded?

Community
- 1
- 1

Isaiah Turner
- 2,574
- 1
- 22
- 35
-
We want to do it from client side in iOS application.Please provide your input. – user1800529 Aug 21 '13 at 06:18
-
I don't know if it is too late to comment but I think I have a solution for future readers. First, download the HTML ( http://stackoverflow.com/questions/2696559/how-to-download-file-from-particular-url ) then, replace the content between the
and strings ( http://www.karelia.com/cocoa_legacy/Foundation_Categories/NSString/General_search_and_.m ). – Isaiah Turner Sep 02 '13 at 04:50