我正在觀看關於RubyMotion的入門截屏視頻,開始http://pragmaticstudio.com/screencasts/rubymotion。在截屏中,作者使用window.backgroundColor設置背景顏色。但是,當我查看此頁上的UIWindow類引用http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWindow_Class/UIWindowClassReference/UIWindowClassReference.html#//apple_ref/doc/uid/TP40006817時,我看不到backgroundColor屬性。這是從哪裏來的?任何人都可以幫忙嗎?RubyMotion:UIWindow backgroundColor
0
A
回答
1
(這僅僅是提問者所說的解決他的問題 - 我只是想這個問題,下車未答覆頁)
的解決方案,如刊登的提問者,是:
沒關係,我只知道,因爲UIWindow繼承自 UIView,它也繼承了backgroundColor屬性。
相關問題
- 1. BACKGROUNDCOLOR
- 2. Button BackgroundColor禁用LinearLayout BackgroundColor
- 3. RecyclerView BackgroundColor
- 4. WPF BackgroundColor
- 5. BackGroundColor DateField
- 6. SSRS Textbox BackgroundColor
- 7. UIView backgroundColor with image
- 8. hover()backgroundColor problem
- 9. jQuery backgroundColor動畫
- 10. onClick backgroundColor更改
- 11. BACKGROUNDCOLOR變化
- 12. Swift 4 backgroundColor bug?
- 13. 的ListView BACKGROUNDCOLOR
- 14. UISegmentedContol:reverse tintColor and backgroundColor
- 15. jQuery numeric backgroundColor animation
- 16. viewbinder row backgroundcolor
- 17. BackgroundColor未定義
- 18. NSTextfield的Backgroundcolor
- 19. Flex HDividedBox Divider backgroundColor
- 20. HighCharts backgroundcolumn的backgroundcolor
- 21. jQuery Animate()和BackgroundColor
- 22. 的UISearchBar的backgroundColor
- 23. TableView backgroundColor不變
- 24. CALayer - backgroundColor翻轉?
- 25. fullcalendar backgroundColor屬性
- 26. Android Togglebutton with changeable backgroundcolor?
- 27. UITableViewCellStyleSubtitle標籤的BackgroundColor?
- 28. jQuery .css('backgroundColor')問題
- 29. JavaScript看不到backgroundColor?
- 30. iOS:UIView backgroundColor in table view
沒關係,我只知道,因爲UIWindow繼承自UIView,它也繼承了backgroundColor屬性。 –
然後將其作爲您的問題的答案將其從未解答的列表中解決。 – Linuxios