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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -