2010-06-08 11 views

Répondre

1

Essayez d'ajouter ceci à votre UIViewController:

// Override to allow orientations other than the default portrait orientation. 
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { 
    // Return YES for supported orientations 
    return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || 
      interfaceOrientation == UIInterfaceOrientationLandscapeRight); 
} 

Vous pouvez en savoir plus sur ce ici: UIViewController class reference

+0

merci jamie! J'essaierai! – ghiboz