ios - 'Done' UINavigationBarButtonItem on right side cut off -


i'm using uibarbuttonitem result:

enter image description here

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

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -