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

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -