user2058653
user2058653

Reputation: 733

How to change color what is under self.view

I want to change color what is unde self.view. For example in navigation controller I just can change background of navigation controller, but how to change it on simple view controller ?

enter image description here

Upvotes: 0

Views: 62

Answers (2)

HighFlyingFantasy
HighFlyingFantasy

Reputation: 3789

Beginning in iOS7, you can make container view controllers to present other view controllers. Changing the background color of the container view would effectively provide the functionality you're looking for

Upvotes: 0

Fogmeister
Fogmeister

Reputation: 77641

That is the window that the app runs in.

You shouldn't really be messing with it. Your UIViewController's views should be covering it completely.

Upvotes: 2

Related Questions