草庐IT

UIButtonTypeRoundedRect

全部标签

ios - 等同于 UIButtonTypeRoundedRect swift?

当我尝试在swift中使用UIButtonType时,UIButtonTypeRoundedRect不再存在:Swift中是否有等效项,或者我是否需要创建一个新的子类才能获得相同的外观? 最佳答案 它不在Xcode6.4的SDK中:enumUIButtonType:Int{caseCustom//nobuttontype@availability(iOS,introduced=7.0)caseSystem//standardsystembuttoncaseDetailDisclosurecaseInfoLightcaseInfoDa