objective c - Getting data from html code -



objective c - Getting data from html code -

i've got website shows temperature. want xcode loads page , get's temperature. here websites code:

<!doctype html> <html> tempfan1:43.57 </html>

in xcode loaded website webview. webview shows website want source code of website , store value of "tempfan1" float, don't know how source code of website.

you got downvotes because did not show research effort. have no thought of xcode or objective-c quick search revealed reply in 20 secs.

https://developer.apple.com/library/mac/documentation/cocoa/reference/foundation/classes/nsdata_class/index.html#//apple_ref/occ/clm/nsdata/datawithcontentsofurl:

uiwebview html source

html objective-c xcode osx

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -