hyn
hyn

Reputation: 473

Performance: UIView in a UIView or replace the UIView?

I would like to have a main UIView take care of adding one of multiple UIViews as a subview. Since only one subview is active at any time, and the subview completely covers the main view, I might as well replace the main view. But this takes some effort, and I'm not sure if it would be worth the small gain in performance. Am I going to see any difference at all?

Upvotes: 2

Views: 1179

Answers (1)

user23743
user23743

Reputation:

Are they full-screen views? If so, then you could use UIViewController to do the management.

Upvotes: 1

Related Questions