default screen background to black iOS - ios

I see a white launch screen but my application requires black screen by default and all other elements floating.
Im able to covert latter screen black using storyboard but not the default launch screen.

create controller for that as LaunchScreen.storyboard can't have any animation only change view background or set an imageView
for that create rootViewController and do the animation in it

Related

Desaturate colors in views below a UIView

Is it possible to set a backgrounds image such that the views drawn below it are desaturated, rather than just darkened or tinted via a normal alpha value.
I do not have the ability to alter the views below, so it must be contained to the UIView or layer.
Thanks!
Sure, just overlay the view with a screenshot (How Do I Take a Screen Shot of a UIView?) and desaturate (ios sdk desaturate image).
Then you can display other viewcontroller modally with transparent background to see-through your desaturated image (iOS: Modal ViewController with transparent background).

Is it possible to change background color of interface rotation

My App has a white background UIWindow.backgroundcolor. When I rotate the device the white background rotates on black background.
Is it possible to change the background behind that window?
I would like to have all white. Any ideas? Thanks in advance.
You cannot change the black color as it is actually not a part of the app. What you can do in this case is add a very large (somewhat larger then the screen size) root view and center it. Then place everything else into this view. This way when your app changes orientation the large view will also rotate, but because of it's size it's edges will never reach the screen and the black color will remain hidden.

Making splash screen animated in cocos2d-iphone?

In cocos2d there is always a splash screen by default. How to replace it (or just to delete that one and make other way) with something animated , for example? Is it good idea at all? How it affects the moderation?
This is how we've handled this in our game in cocos2d-x:
Set a blank Orange LaunchImage in Xcode.
In the AppController as soon as the EAGLView is setup we change it's backgroundColor to the same Orange as our LaunchImage because it was showing a black screen for a split second before showing our animated splash scene/layer.
__glView.backgroundColor = [UIColor colorWithRed:GC_BG_COLOR_RED green:GC_BG_COLOR_GREEN blue:GC_BG_COLOR_BLUE alpha:1];
Created a scene/layer before the menu that is shown for 3-4 seconds, on which we show our brand's logo animation.
On completion of the animation we reset the backgroundColor back to the default black.
your splash screen image replace the "Default.png" in project resource.

Gradient appears behind navigation bar after app launch

When my app is launching, as soon as the launch image is replaced by the initial view, a white gradient appears behind the navigation bar for one second (1st image) then disappears (2nd image).
I've tried to change the initial view to a different one to check if it's adding that gradient but it's still being added even with a plain UITableViewController.
Any clue or ideas on what might be causing this gradient during the transition from the launch image to the initial view?
update the viewwillappear method to set the navigation bar translucent
set
navigationbar.translucent = NO
Apparently this was a bug in iOS and has been fixed in 7.1

iOS, iPad - NavigationBar appears on rotating device

I have an issue with the navigation bar.
I have screen with NavBar and opened half transparent view on full screen (it covers NavBar).
Then, if I change device orientation by 180 degree (my app only, for landscape), then NavBar appears on top while animation. NavBar goes back under transparent view after animation completes.
Does somebody face the same issue?
How are you presenting the transparent view? If you are presenting it modally or using a UIPopover, both of these will be removed from the window during the rotation and then added back afterwards.
Have you perhaps tried adding the view as a subview of the window, above the navigation bar, like such?
[self.view.window insertSubview:your_view aboveSubview:self.navigationController.view];

Resources