How to make custom buttons in iOS?

后端 未结 7 1634
野的像风
野的像风 2021-02-06 09:01

The default iOS UI is nice but if I wanted to use images for buttons instead how would I do that - is it OpenGL?

7条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-06 10:04

    Make the button a "custom button" type in interface builder. Then set the background image to be whatever you want the background to be.

    Unfortunately the default button style is a little boring. You'll need to find or make a button with an image editor.

提交回复
热议问题