2
What is and what Viewdidload is for ?
2
What is and what Viewdidload is for ?
4
It’s a class method Uiviewcontroller which is called as soon as the view controller view hierarchy is loaded, but is not yet visible on the screen.
This method is called once during the view controller lifecycle. It is usually in it that one initializes elements of the interface that was not done by nib/storyboard. That is, many times in the graphics editor we only define the basic structure of the interface, but the configuration of the elements (e.g., color, font, text) is done by code, in this method. We can also other types of initialization not referring to interface.
Browser other questions tagged ios
You are not signed in. Login or sign up in order to post.