views:

31

answers:

1

Hello heroes,

I'm new to iOS programming, so please allow me to ask stupid questions if it is :)

I have a program, using UIWebView to load HTML page and display to the end users.

The page is quite simple,

<select>
    <option>A</option>
    <option>B</option>
    <option>C</option>
    <option>D</option>
</select>

WebView controller init:
WebViewController *webVC = [[WebViewController alloc] initWithNibName:@"WebViewController" bundle:nil];

Load the HTML page in this way:

[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://*****/app/"]]];

When program started, the end user will see a drop down menu, if click the menu, end user will see a list of options, then choose one of then.

The problem is, it works fine in iOS3.2, but after I upgrade the SDK to iOS4, it doesn't work, nothing happen when click the drop down menu.

Can anyone help me?

Is there anything wrong with my UIWebView?

Thanks a lot.

A: 

Load the HTML page in this way:

[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://*****/app/"]]];
Bill Mao