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
Asked
Active
Viewed 430 times
0
-
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 Answers
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:

Community
- 1
- 1

Ahmad Kayyali
- 8,233
- 13
- 49
- 83
-
I have been able to do that but please read the comment I have put above :) – Tushar Chutani Apr 16 '11 at 18:27
-
@user655995: can you please post the code that is not working as an update to your Question. – Ahmad Kayyali Apr 17 '11 at 06:08