IOS-按钮风格style(plain、bordered、done)辨析

来源:互联网 发布:土石方调配软件 编辑:程序博客网 时间:2024/06/03 14:34

style定义按钮的风格。可用的风格有:

UIBarButtonItemStylePlain        默认按钮风格;按下时会闪动
UIBarButtonItemStyleBordered     与UIBarButtonItemStylePlain相同,但显示的按钮有边框
UIBarButtonItemStyleDone         显示一个蓝色按钮,提醒用户编辑完毕时应该点触(tap)该按钮。
原创粉丝点击