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