PDA

View Full Version : About the UITableView and UITableViewCell




loveunk
Aug 25, 2008, 12:58 AM
Hi,all

There are 5 cells in "myTableView"(a UITableView).

When the view is loaded, I want the first cell to be selected(it means that the first cell is highlighted).

I've tried many minutes, but it didn't work.

Could you please give me a favor? thanks a lot.

Wen



admanimal
Aug 25, 2008, 01:05 AM
I'll give you a hint...look up the documentation for UITableView and search for a method that sounds like it will select a row for you.

loveunk
Aug 25, 2008, 01:54 AM
I'll give you a hint...look up the documentation for UITableView and search for a method that sounds like it will select a row for you.

Thanks very much, but I still cound not sovle it.