Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

loveunk

macrumors newbie
Original poster
Aug 24, 2008
2
0
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

macrumors 68040
Apr 22, 2005
3,531
2
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.