I have a UIViewController called LoginViewController. I want to build the view of that LoginViewController fully programmatically<
UIViewController
LoginViewController
Override the layoutSubviews method to update the frames of the subviews inside your custom view.
layoutSubviews
And never call super.loadView(). This is documented for the loadView method.
super.loadView()
loadView