开发者

How do I hide a variable from the view?

开发者 https://www.devze.com 2023-01-01 12:28 出处:网络
In objective C, I\'m trying to make something hide from view. Could anyone tell me how to do it by using some sort of

In objective C, I'm trying to make something hide from view. Could anyone tell me how to do it by using some sort of -(void) something {?

It's a variable, and I need to make it only appear when a certain variable is true. I want to know how to 开发者_开发知识库make that variable turn invisible all the time to start it off.


If you don't declare it in the .h file, then it is hidden.


You just do variable.hidden = YES;

0

精彩评论

暂无评论...
验证码 换一张
取 消