UINavigationBar UIBarButtonItems much larger click area than required

后端 未结 8 1478
遇见更好的自我
遇见更好的自我 2020-12-08 09:40

hopefully someone can help me out- iv\'e scoured the net for the answer and cannot find one-

the UIBarButtonItems added to UINavigationBar have a much larger click a

8条回答
  •  星月不相逢
    2020-12-08 10:22

    This can be done directly from a storyboard. Drag a UIView into each navigation item, set its background to clearColor, and size it. Drag a button into each UIView and size them to match.

提交回复
热议问题