Re: SpriteKit junk
Re: SpriteKit junk
- Subject: Re: SpriteKit junk
- From: William Squires <email@hidden>
- Date: Mon, 28 Apr 2014 09:09:15 -0500
Thanks, overriding prefersStatusBarHidden did it. :)
On Apr 27, 2014, at 12:10 PM, Quincey Morris <email@hidden> wrote:
> On Apr 27, 2014, at 09:29 , William Squires <email@hidden> wrote:
>
>> Thanks - reducing the scene to just the score label reveals that - without the background - the (solid) background color is now a dark gray, rather than black, and I can just make out the (simulated) title bar at the top where - on a real device - it would show the carrier, signal strength, time, and battery charge. It was this text at the left (the carrier and signal strength) that was acting as a mask over the top of the SKLabelNode rendering. Now the question is - how do I get rid of it (meaning the bar on the top of the screen)? I remember seeing this somewhere - probably a plist setting - but I don't recall off-hand.
>
> Override -[UIViewController prefersStatusBarHidden]. Or override -[UIViewController preferredStatusBarStyle] to return UIStatusBarStyleLightContent, and move your labels down a bit.
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden