Black box appears on iOS after going back to view


Hello guys,

I am building a ionic app and have a Login and Register page.

When you start the app you land on the “login” page. Then you can click on register and it brings you there. But when you come back from the register state to login state, I have this huge black bar appearing (I hid my company logo in red) :

Thank you guys!