• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIPicker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIPicker


  • Subject: UIPicker
  • From: Alex Zavatone <email@hidden>
  • Date: Mon, 19 Jan 2015 15:58:14 -0500

iOS UIPicker first display issues.

Hi.  Some of our users are having problems with the UIPicker when its initially displayed.

Since the UIPicker displays with an item in the row already, many users instantly think that value displayed is the one selected and immediately dismiss the picker view.

I've tried to call selectRow: inComponent: animated: and didSelectRow: inComponent: on the pickerView after I've allocated it, but these fail to actually select the row.

Within didSelectRow: inComponent: is where I'm handling what is selected.

When is the proper time to declare which row to show as selected?

As it is now, I'm thinking of resorting to the dismissal of pickerView and checking to see if the selectedRowInComponent is equal to nil.

Any advice on the proper location in the creation of the UIPicker to assign this is appreciated.

Thanks,
Alex

Sent from my iPad. Please pardon typos.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: UIPicker
      • From: Diederik Meijer | Ten Horses <email@hidden>
  • Prev by Date: Re: recycleURLs doesn't enable Put Back or Undo in Finder
  • Next by Date: Re: recycleURLs doesn't enable Put Back or Undo in Finder
  • Previous by thread: Re: Need help on xcode offline documents, it doesn't recognize the docsets
  • Next by thread: Re: UIPicker
  • Index(es):
    • Date
    • Thread