Pages

Monday, July 23, 2012

How to get NSPopUpButton Selected Item Name ?

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

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

No comments:

Post a Comment

Popular Posts