views:

256

answers:

1

In my application, I want to have a Webview and a button on the bottom bar (should it be a tab, bar button, or navigation item?).

In this Webview, it will display a web page of user information. For example, user profiles on a website.

Example URL: http://myusersite.com?uid=1

What I am trying to accomplish is allow the application user to press the bottom button and have it:

A) Increase the uid++, so the next value would be uid=2 B) Reload the page in that window with the information from user 2.

How can I refresh the page and have a button that sets a variable to be included in a URL for the refreshed page?

Thank you.

+1  A: 
yn2
The line NSSTring *urlAddress=.... gives an objc_msgsend error that breaks the program.
LoganFrederick