UIBarButtonItem *adminBarButtonItem = [[UIBarButtonItem alloc]
initWithImage:[UIImage imageNamed:@"779-users"]
style:UIBarButtonItemStylePlain
target:self
action:@selector(adminButtonTouched)];
I tried to assign a new frame to adminBarButtonItem.customView.frame
, it didn't work.
Expect for [[UIBarButtonItem alloc] initWithCustomView:aView]
, is there anyway to change the size of UIBarButtonItem
?