J'ai un petit problème et je ne trouve aucune solution. Comment puis-je désactiver l'autorotation pour les vues et ogl et obtenir toujours l'orientation?Obtenir l'orientation sans autorotation dans le projet Cocos2d
Par exemple, si j'ai défini GAME_AUTOROTATION
sur kGameAutorotationNone
, le centre de notifications UIApplicationDidChangeStatusBarOrientationNotification
ne fonctionne pas. Si j'autorise en shouldAutorotateToInterfaceOrientation
deux autororations d'orientations réapparaissent. Si j'implémente un vide willRotateToInterfaceOrientation
rien ne change. Alors, comment puis-je obtenir des changements d'orientation sans réellement faire tourner quoi que ce soit?
Merci d'avance.