|
|
#1 |
|
How to parse html page including java script?
I try to parse a HTML page that use java script to create some content, I found stringWithContentsOfURL can't give me right result, because there is no contents created by java script, what can I do?
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60 MyApp: Market Event v1.9.2 |
|
|
|
0
|
|
|
#2 |
|
Embed a UIWebView (not necessarily visible), load the page, let the JS run and then interact
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
|
|
#3 |
|
Can it be run in background like Safari?
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60 MyApp: Market Event v1.9.2 |
|
|
|
0
|
|
|
#4 |
|
If you mean whilst your app is suspended I suspect no. If you mean whilst your app is the active app then yes, it would load happily.
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
|
|
#5 |
|
But it is said UI only can be run in Main thread...
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60 MyApp: Market Event v1.9.2 |
|
|
|
0
|
|
|
#6 |
|
1) I said nothing about threads: you have decided to add this
2) An offscreen (or simply z-layered behind the other views) view implies nothing about threads
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 06:08 AM.







Linear Mode
