How to get NSPopUpButton Selected Item Name ?

By | June 14, 2011

Hi,

In order to get the selected item name from an NSPopUpButton using in any iOS application, use the following sample of code.

NSPopUpButtonCell *urCell = [sender selectedCell];
NSLog (@"Item name in the cell is %@", urCell.title);

🙂

Leave a Reply

Your email address will not be published. Required fields are marked *