Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Teacup::Stylesheet.new(:iphone) do
- # enable orientations on the root view
- style do
- left 0
- top 0
- width 320
- height 480
- backgroundColor :lightyellow.uicolor
- portrait true
- upside_down false
- only :ipad, :landscape do
- backgroundColor :pink.uicolor
- end
- end
- end
Add Comment
Please, Sign In to add comment