Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iPad で iPhone アプリを実行すると、画面上部に黒いバーが表示されます。iPhone ではステータス バーが表示されます。iOS 7 では、ステータス バーはアプリの画面領域に制限されなくなりました (実際、Apple はこのスペースを使用するように私たちに求めています) が、私の iOS-7 iPad はまだ黒いバーを残しています。
アプリが iPad で実行されているときに、iPhone のステータス バーの下に表示されるコンテンツを取得する方法はありますか?
私の場合、ios 7 iPad を使用すると、iPhone アプリ領域の上にコンテンツのない黒いバーが表示されます。
すべての setStatusBarHidden 関数を削除し、奇妙なバーはもうありません。