Reputation: 59
I need to see the HomeScreen
from the UIWindow
by making the UIWindow
background as transparent. How to achieve this ?
I have tried with [UIColor ClearColor];
But its displaying BlackColor only.
Upvotes: 3
Views: 2421
Reputation: 371
This is not good to do but its necessary then i think you use like below might be userful to you
self.window.backgroundColor = [UIColor colorWithRed:55.0f green:55.0f blue:55.0 alpha:0.05];
Upvotes: 2
Reputation: 1640
It's not possible to see the homescreen inside your app. Apple did this to save power (who needs to render the homescreen while he's using an app) and to prevent devs from irritating users by making them think they are on their homescreen.
Upvotes: 9