état de problème: je dois accéder à la bibliothèque photo à l'aidepouvons-nous utiliser UIImagePickerController pour le paysage iPad
UIImagePickerController
pour le paysage iPad. Cela fonctionne très bien en mode portrait mais dans les plantages de l'application Landscape.
comment utiliser UIImagePickerController pour accéder à la photothèque en mode paysage. Sinon, tout autre moyen de le faire.
J'ai déjà essayé cela
override var shouldAutorotate: Bool
{
return false
}
func application(_ application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow) -> UIInterfaceOrientationMask {
return .all
}
toute aide serait très apprécié.
Merci
double possible de [Utilisation UIImagePickerController en orientation paysage] (http://stackoverflow.com/questions/19374237/using-uiimagepickercontroller-in-landscape-orientation) – Sac
j'ai essayé tous les deux –