XCode10,The UITextField doesn't response to the click after I adding setRootViewController

It seems not only the textfield but all the controls don’t response. any advise?