マルチプレイヤー ゲームに を使用Nextpeer
しており、 の縦向きを設定したいと考えています。私はそのためにこのコードを使用しています:Cocos
NextpeerSettingInitialDashboardOrientation
NSDictionary* settings = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:FALSE], NextpeerSettingSupportsDashboardRotation,
[NSNumber numberWithInt:NPNotificationPosition_BOTTOM], NextpeerSettingNotificationPosition,
[NSNumber numberWithBool:FALSE], NextpeerSettingInitialDashboardOrientation,
nil];
[Nextpeer initializeWithProductKey:@"ID" andSettings:settings andDelegates:
[NPDelegatesContainer containerWithNextpeerDelegate:self notificationDelegate:nil tournamentDelegate:self currencyDelegate:nil]];
しかし、この警告が表示され、向きが に設定されていませんportrait
。に設定していLandscape
ます。私のデフォルトの向きは ですportrait
。
Nextpeer warning: The desired orientation (1) isn't supported by the currently integrated Nextpeer's resource bundle.
NextpeerSettingSupportsDashboardRotationを変更するには?
この警告を解決するには?