0

I am making a web browser for my iphone app (this is just to try I won't be releasing it)...I wanted to know how can I make uitextfield update the url as I click on a link or when the website redirects you. Need some help please

Tushar Chutani
  • 1,468
  • 5
  • 25
  • 55
  • You doing great till what stage? i mean where is the actual problem? adding the UITextField? or fill it with the current URL? what is your problem? – Ahmad Kayyali Apr 16 '11 at 18:15
  • I have been able to add a uitextfield and then when I put in a web site the web view loads it but now when say suppose I search google for something the url in the text field doesn't update or say suppose I put in a tinyurl.com that redirects to another web site the url in the text bar doesn't update according to the web site – Tushar Chutani Apr 16 '11 at 18:24
  • @user655995: please see my below answer the second link specifically . – Ahmad Kayyali Apr 16 '11 at 18:25

1 Answers1

0

You need to create your own UITextField and add it in the top of the browser, with a cute Go! button to be able to navigate to another page you can hide the UItextfield with animation to the top of the View.

This will help you understanding the Padding thing:

How to make a UITextField move up when keyboard is present?

and Understanding the Forwards and backward mechanism you may want to look here:

UIWebView, goBack accessing back-forward list?

Community
  • 1
  • 1
Ahmad Kayyali
  • 8,236
  • 13
  • 47
  • 83