LoginSignup
129
102

More than 5 years have passed since last update.

iPad Multitaskingに対応したメモ

Posted at

久々のiPhoneアプリ申請でまたつまづいたよメモ。

アプリの申請をしようよしたら下記のエラーがでました。
iPad Multitasking、そういえばそんなもの出ましたね。

Screen_Shot_2015-09-23_at_20_20_43.png

ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait' in bundle 'xxx.xxx.xxx'."
ERROR ITMS-90475: "Invalid Bundle. iPad Multitasking support requires launch story board in bundle 'xxx.xxx.xxx'."

はい、おっしゃる通り古くから運用してる割にはサボってるアプリなのでDevice OrientationPortraitしか対応してないし、Launch Screen Fileは作ってすらいません。

対応方法は2つ。サボるか頑張るか。

サボる方法

問答無用でRequires full screenにチェックします。

Screen_Shot_2015-09-25_at_02_21_14.png

ただし、これをするとせっかくiOS9のiPadでできるマルチタスキング機能(Slide OverとかSplit View)が使えなくなってしまうようです。

IMG_0004.png

頑張る方法

素直にエラーの通りに対応すればいける模様。
まずITMS-90474エラーはDevice Orientationは4つ全ての方向にチェックすればOK。
もちろん今までLandscapeとかに対応してなければレイアウトとかの対応もちゃんとする必要があります。

次のITMS-90475エラーはLaunch Screen Fileを新規作成すればOK。
「FIle」->「New」->「File...」->「iOS」->「User Interface」->「Launch Screen」から作成できるので、これを「Project」->「General」->「Launch Screen File」で設定します。

Screen_Shot_2015-09-25_at_02_38_52.png

結果

気になって調べてたら対応できてしまったので頑張る方法でそのまま審査に出しました!
iPad Multitaskingで使う人はまだ少ないと思いますが、動くとけっこう嬉しいものですね:-)

129
102
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
129
102