在Info.plist里增加一下两条 Status bar is initially hidden 为YES View controller-based status bar appearance 为NO