iPhone toggle button implementation

前端 未结 7 1960
孤独总比滥情好
孤独总比滥情好 2021-02-04 09:05

I would like to create a toggle button in my iPhone application. However, I don\'t know exactly what would be the best approach for this.

I am considering two options.

7条回答
  •  离开以前
    2021-02-04 09:21

    Isn't there already a toggle button, or am I missing something here?

    EDIT: As others have said, it's called UISwitch, and it toggles on and off.

提交回复
热议问题