How can iOS get the control instance in storyboard?

I use storyboard to develop, but I want to use swift code to control some attributes such as button and label. What should I do, Daniel?

Nov.13,2021

each VC can specify a ID :
clipboard.png

in your VC code, you can use:

[self.storyboard instantiateViewControllerWithIdentifier:@"vcID"]

create a new instance. Get the interface elements from IBOutlet of VC

Menu