I have a button inside UINavigation
Bar Button Item
This is my expectation but really what happens is that button width getting depressed ,how to over come from this constant width ? any idea friends .
I have a button inside UINavigation
Bar Button Item
This is my expectation but really what happens is that button width getting depressed ,how to over come from this constant width ? any idea friends .
Set your button as rightBarButtonItem programatically.
UIBarButtonItem *rightbutton = [[UIBarButtonItem alloc] initWithTitle:@"Button Title here" style:UIBarButtonItemStyleDone target:self action:@selector(buttonTapped:)];
self.navigationItem.rightBarButtonItem = settingButton;