阅读背景:

如何在Web视图中自动包含http://

来源:互联网 

I have a web view in Xcode and a text field where you can enter URL addresses. The only problem is when entering an address you have to manually put in https:// or it won't recognize it. How would I be able to do this and what would the code look like? On the other hand, how would I be able to change the text field address when I click on a link? Because when I click on a link the URL stays at the previous page. For example, I type in google.com and the when I click on a link the text field stays at google. Any ideas on how to this?I have a web view in Xcode and a text field whe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: