I need to know Y and X position of UIBarButtons
and preferably its width and height.
I've tried with this solution: UIBarButtonItem: How can I find its frame? but it doesn't work for me.
I tried:
UIBarButtonItem *item = _bbiPlus ;
UIView *view = [item valueForKey:@"view"];
NSLog(@"igrek? %f", view.frame.origin.y);
With output:
0.000.
How could i get position of item
considering that it changes on different devices?