1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

selectRow

Discussion in 'iPhone/iPad Programming' started by chhoda, May 18, 2010.

  1. macrumors 6502

    #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
     
  2. Moderator

    robbieduncan

    Staff Member

    #2
    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*.
     

Share This Page