there is no create account button in simulator, so how do I fix it
why can't I see the button I coded in the simulator
From your addSubviews()
method, it seems like you're just missing the call to add the createAccount
button into the view.
view.addSubview(createAccount)
Doing that inside addSubviews()
should solve your issue.