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

chhoda

macrumors 6502
Original poster
Oct 25, 2008
285
1
I am using a UIPickerView and want its middle item to be selected by default when screen shows up. I am tryingto achieve that by calling "selectRow inSection animated "method, but i get a warning this control may not respond to this method !

--CH
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
Post your code. In particular the variable definition that you are using to hold the pointer. Or if you are getting a pointer to the picker via a method call then post that method call. Most likely you are either using a superclass type in your variable definition, or the method returns something like UIView*.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.