RollRoll
RollRoll

Reputation: 8462

Alpha zero to UIView but Alpha 1 to children controls

I'm having a hard time making my controls inside an UIView visible while the UIView is invisible.

I searched and I was told I have to change the hierarchy of controls in order to do that, I refuse to believe it is that ugly.

Does anyone have any idea how to deal with it?

By the way, I want the controls inside a UIView because I will make if drag with Gerture Recognizer

Upvotes: 0

Views: 51

Answers (1)

SeanT
SeanT

Reputation: 1791

Just set the background color property of the UIView you want to be invisible to [UIColor clearColor]

Upvotes: 1

Related Questions