Re: Programmatically loading page into WebView [was: (no subject)]

  • On 4 Mar '08, at 1:18 AM, ali alavi wrote:

    > I need to be able to load the page automatically when I
    > programmatically set the URL filed to a web page address. However
    > the only way I can make the page appear now is by clicking in the
    > URL field and hitting Return key. How can I do this without need for
    > Return key to be hit?

    The actions you configure in IB only occur in response to user events.

    If you want to make the action happen programmatically, you can either
    call -performClick on the text field, or directly call the WebView
    method that you wired the text field to (passing a pointer to the text
    field as the 'sender' parameter.)

    —Jens
previous month march 2008 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today