0

I'm watching this introductory screencast on RubyMotion to get started http://pragmaticstudio.com/screencasts/rubymotion. In the screencast, the author uses window.backgroundColor to set the background color. However, when I look into the UIWindow class reference on this page http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWindow_Class/UIWindowClassReference/UIWindowClassReference.html#//apple_ref/doc/uid/TP40006817, I don't see a backgroundColor property. Where does this come from? Can anyone help please?

trivektor
  • 5,608
  • 9
  • 37
  • 53

1 Answers1

1

(This is just what the asker said solved his problem -- I just wanted this question to get off the Unanswered page)

The solution, as posted by the asker, is:

Never mind, I just figured out that since UIWindow inherits from UIView, it also inherits the backgroundColor property.

Linuxios
  • 34,849
  • 13
  • 91
  • 116