iphone - Getting the width of a UIBarButtonSystemItem -



iphone - Getting the width of a UIBarButtonSystemItem -

is there way programmatically width of uibarbuttonsystemitem. width property returns 0 scheme items. in particular, want exact width of editbuttonitem property of uiviewcontroller.

on iphone value 44 bit bigger on ipad , cannot nail down.

i got reply link @jobu1324 left of comment.

here code used.

uibarbuttonitem *item = /*...*/; uiview *view = [item valueforkey:@"view"]; cgfloat width = view? [view frame].size.width : (cgfloat)0.0;

iphone objective-c ios uiviewcontroller uibarbuttonitem

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -