How to get the embeded button of UIBarButtonItem
Posted
by Jagie
on Stack Overflow
See other posts from Stack Overflow
or by Jagie
Published on 2010-06-13T07:38:22Z
Indexed on
2010/06/13
7:42 UTC
Read the original article
Hit count: 488
In an iPhone app,we can make a UIBarButtonItem by using the following code:
UIBarButtonItem *bbix=[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAction target:nil action:nil];
the generated UIBarButtonItem has a system-provided "action" icon.My question is :how to get this UIBarButtonItem's inner UIButton and add this UIButton to another UIView? who can show me some code? thanks in advance
© Stack Overflow or respective owner