Can I change the position of navigationbar item?

前端 未结 7 898
无人共我
无人共我 2021-01-31 18:57

Here is the snapshot: \"enter

And the code is here:

UIButton *leftButton =         


        
7条回答
  •  情歌与酒
    2021-01-31 19:51

    You can try this,

    leftButton.imageEdgeInsets = UIEdgeInsetsMake(-2, 0, 0, 0);
    

提交回复
热议问题