why can't I see the button I coded in the simulator

there is no create account button in simulator, so how do I fix it

Accepted Answer

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.

why can't I see the button I coded in the simulator
 
 
Q