0
나는 초상화 게임에서 Nextpeer을 사용하고 잘 동작합니다. 조경 게임에서 동일한 코드를 사용했으나 Nextpeer 대시 보드는 세로 모드에서 계속 사용됩니다. Nextpeer 대시 보드 방향을 가로로 변경하는 방법은 무엇입니까?Nextpeer in Landscape only iphone game
-(void)initializeNextpeer:(NSDictionary *)launchOptions
{
if([self internetConnected])
{
BOOL isRetina = (IS_IPAD) ? FALSE : TRUE ;
NSDictionary* settings = [NSDictionary dictionaryWithObjectsAndKeys:
// This game has no retina support - therefore we have to let the platform know
[NSNumber numberWithBool:isRetina], NextpeerSettingGameSupportsRetina,
// Support orientation change for the dashboard notifications
[NSNumber numberWithBool:TRUE], NextpeerSettingSupportsDashboardRotation,
// Support orientation change for the in game notifications
[NSNumber numberWithBool:TRUE], NextpeerSettingObserveNotificationOrientationChange,
// Place the in game notifications on the bottom screen (so the current score will be visible)
[NSNumber numberWithInt:NPNotificationPosition_TOP], NextpeerSettingNotificationPosition,
nil];
[Nextpeer initializeWithProductKey:@"HERE_USED_NEXTPEER_KEY"
andSettings:settings
andDelegates:[NPDelegatesContainer containerWithNextpeerDelegate:self]];
// Handle any notifications the game was launched with
[Nextpeer handleLaunchOptions:launchOptions];
}
}
어떻게이 문제를 해결하기 위해 다음과 같습니다
내 Nextpeer 초기화 코드?
thanks..its을 찾습니다. – Guru