Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在应用启动时隐藏标签。我只是想知道我将如何去做。任何帮助将非常感激!
如果它在界面生成器中,您可以简单地选中属性窗口中的“隐藏”框。
如果没有,你应该在viewDidLoad刚刚设置的时候这样做
viewDidLoad
label.hidden = YES;