0
A
回答
0
自定義交換機本身是我認爲不可能的,如果可能的話只使用私有API,它可能會導致很多問題取決於固件。 App Store的安全方式是使用UISlider:http://www.catamount.com/blog/?p=1063
0
簡單直接的解決方案從UISwitch Reference:The UISwitch class is not customizable.
使用UISegmentedControl代替用2段和[segControl setMomentary:否],則使用- (void)setTitle:(NSString *)title forSegmentAtIndex:(NSUInteger)segment
方法設置標題。
相關問題
- 1. UISwitch ViewDidLoad設置在
- 2. 在iOS 6中的Xcode更改UISwitch文本是/否4.5
- 3. UISwitch設置狀態
- 4. 在UIPopoverController中設置UISwitch狀態
- 5. 如何在XCode 4中設置文件特定的版本設置?
- 6. 更改UISwitch上的文本
- 7. 更改UISwitch的文本
- 8. 將光標設置在Xcode中的文本框末尾
- 9. 如何在覆蓋層上設置UISwitch?
- 10. 無法設置標籤文本Xcode tableview
- 11. Xcode添加標籤並設置文本
- 12. Xcode - 設置標籤返回文本(null)
- 13. Xcode中的基本縮進設置
- 14. 在Xcode 6.1中設置導航欄文本字體
- 15. 清除UILabel文本並在xcode中重新設置它?
- 16. 不能設置在表視圖文本標籤在Xcode的iPhone
- 17. uiswitch默認文本更改
- 18. 在Xcode 4中設置malloc_error_break
- 19. 在xcode中設置宏
- 20. 如何在Xcode中設置
- 21. 在Xcode中設置RestKit
- 22. 在Android中設置文本
- 23. 在@ html.Textarea中設置文本
- 24. 在ImageButton中設置文本
- 25. 在JFormattedTextField中設置文本
- 26. 在tableView中設置文本
- 27. 在uicollectionviewcell中設置文本
- 28. 問題在Xcode 4.6版本設置
- 29. 嘗試在Swift中設置UISwitch的初始狀態
- 30. UISwitch文本沒有在設備上顯示
http://stackoverflow.com/questions/2711180/changing-the-text-on-a-uiswitch/3397561#3397561 –