iphone - UINavigationItem with titleview -
in app have uinavigationcontroller
. , want add method when user press navigation happen.so add button titleview
:
self.navigationitem.titleview = self.titlebutton;
and want add 2 buttons rightbarbuttonitems
:
self.navigationitem.rightbarbuttonitems = [nsarray arraywithobjects:self.editbuttonitem,self.atozbutton, nil];
and noticed 2 things can't work together,if add titleview
see 1 button in right.
any idea solution? other way able click uinavigationbar
?
check frame of titlebutton have created. may reducing bit may allow add 2 buttons.
Comments
Post a Comment