Is it possible to add an UIButton
with UIToolbar
? or we can use only UIBarButtonItem
? If so how to add an UIButton
in UIToolbar
?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- how do you prevent page scroll in textarea on mobi
- Custom UITableview cell accessibility not working
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Unable to process app at this time due to a genera
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- Open iOS 11 Files app via URL Scheme or some other
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- Can not export audiofiles via “open in:” from Voic
- XCode 4.5 giving me “SenTestingKit/SenTestKit.h” f
you can add
UIBarButtonItem
to theUIToolBar
like bellow..This bellow is an example try this..
Just add this bellow code in viewDidLoad method and then see the
UIToolBar
with this twoUIBarButtonItems
also here i add Flixiblespace for set these two buttons with right and left corner ofUIToolBar
Check this links for more information about UIBarButtonItem and UIToolbar_Class
UPDATE:
For your this requirement you can remove that buttons and also add new button instead of old .. see the example..
i hope this help you...