Im trying to make a game which requires the program to recognize the URL the user has reached.
The URL is a en.wikipedia.org/wiki/random
Can anyone provide a bit of code for this?
You'll want to take a look at the UIWebView Delegate methods. One of the previous comments is right though, you need to do research on your own. Everything I'm telling you is available in the documentation.
- (void)webViewDidFinishLoad:(UIWebView *)webView
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWebViewDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intf/UIWebViewDelegate
精彩评论