Discussion in 'iOS Programming' started by chhoda, May 18, 2010.

  1. macrumors 6502

    Oct 25, 2008
    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 !

  2. Moderator emeritus


    Jul 24, 2002
    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