selon mon code lorsque mon appareil sont utilisés dans Paysagecomment faire pivoter au courant d'Orientation?
quand je pushViewController il sera
show automatique UIDeviceOrientationPortrait.
je dois tourner mon appareil Portrait, puis tourner à Paysage,
il présentera en mode paysage.
comment puis-je faire pivoter le courant d'orientation sans utiliser l'API privée (setOrientation)?
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return ((interfaceOrientation == UIInterfaceOrientationLandscapeLeft) || (interfaceOrientation == UIDeviceOrientationPortrait) ||
(interfaceOrientation == UIInterfaceOrientationLandscapeRight));
}
grâce Plamen Dragozov – RAGOpoR
-il pas répondu à ma question. – RAGOpoR