摘要:
这次的学习还是基于上一个项目继续进行(你也可以新建一个项目)学习Segmented Control和Switch。Segmented ControlSwitchSegmented Control和Switch的主要区别在于Segmented Control可以有多个值进行选择,而Switch只有2个值。1)添加Segmented Control从object library中拖一个Segmented Control到iphone界面上然后调整Segmented Control位置以及它的宽度,如下图在Segmented Control的attributes inspector中有一个属性叫做S 阅读全文