开发者

how can i make a program recognize a user reaching a url in a browser on iPhone xCode? [closed]

开发者 https://www.devze.com 2023-03-19 14:15 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its curre开发者_如何转开发nt for
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its curre开发者_如何转开发nt form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消