Home 

遊戯王アプリがrejectされました。。。。

遊戯王アプリがrejectされました。。。

 

理由はスマートな表示がどうのこうの。

スクリーンショットを見てみると納得

縦表示の事を一切考えてなかったです 笑

 

そこで考えたのが2つ

縦にしたときにボタン等の幅を小さくする事と

そもそも縦表示なんて無くしてしまう事

 

再配置がめんどくさいので今回は後者を選択しました!

 

そこで追加したコードがこれ

 

回転させたくないViewControl.mの

 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Return YES for supported orientations
    return Yes;
}

って部分の

return部分を

return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft );

に変更しました。

UIInterfaceOrientationLandscapeLeft

の部分は

UIInterfaceOrientationLandscapeRight

でもいいです。

これは横向きにしたときにホームボタンがどっちにあるかってことです

 

ちなみに

return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == UIInterfaceOrientationLandscapeRight);

にすると横表示だけで回転してくれます笑

 

っとまあこんな感じで書き換えて現在再審査中です!

 

出たらダウンロードしてね!w

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*