0
UIBarButtonItem *adminBarButtonItem = [[UIBarButtonItem alloc]
initWithImage:[UIImage imageNamed:@"779-users"]
style:UIBarButtonItemStylePlain
target:self
action:@selector(adminButtonTouched)];
我試圖分配一個新的幀到adminBarButtonItem.customView.frame
,它沒有工作。如何以編程方式更改UIBarButtonItem大小?
期待[[UIBarButtonItem alloc] initWithCustomView:aView]
,反正有改變尺寸UIBarButtonItem
?