ios - 'Done' UINavigationBarButtonItem on right side cut off -
i'm using uibarbuttonitem result:
i'm using code add navigation
self.donebutton = [[uibarbuttonitem alloc] initwithbarbuttonsystemitem:uibarbuttonsystemitemdone target:self action:@selector(dismisswebviewcontroller:)]; [self.navigationitem setrightbarbuttonitem:self.donebutton];
what i'm doing wrong?
looks navigation bar larger screen. check out storyboard. select navigation bar, must see square @ begining , @ end of element. if not, move fit screen.
as reference navigation bar iphone 6 4.7 inch application 375 width.
in addition, review if have set constraints correctly. review navigation bar has "spacing nearest neighbor" 0 top , -16 left , right.
Comments
Post a Comment