English 中文(简体)
我怎么能够告诉从钥匙板上打什么时候?
原标题:How can I tell when go was hit from the keyboard with a UIWebview s keyboard?

我有一个简单的模式概览,其中载有一个网站概览,用户需要在一个基于网络的“i”仪上认证。 用户使用实际网站日志认证,然后应打上标号,而观点则不予考虑。

当用户点击到网上浏览键盘上时,我需要能够开枪击退指挥部。 我知道如何使用“UITextfieldDelegate”和“The text FieldShouldReturn”方法,但我可以让它使用“网络概览”的关键板。

我怎么能够抓住这一事件,把我的解职方法说出来?

问题回答

You can use UIWebViewDelegate for receiving events from UIWebView. The method you should use is called webView:shouldStartLoadWithRequest:navigationType:

在您的班子里简单地采用这一方法,并将这一班子作为网络代表。 然后,每当网站要装上新网页时,就会收到请求。 根据请求的特性,你可以决定用户是否贴上标签。

顺便说一句,在用户点击之后,你想要放弃吗? 我认为,关键板已经解职。





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Remotely authenticating client Windows user on demand

Suppose I am writing a server for a particular network protocol. If I know that the client is running on a Windows machine, is it possible for my server to authenticate the Windows user that owns the ...

Role/Permission based forms authorizing/authentication?

While looking into forms authorizing/authentication, I found that it is possible to do role based authorizing by adding an array of roles to a FormsAuthenticationTicket. That way I can write User....

热门标签