Obtenha a orientação atual do dispositivo
Panorama //Return YES if current orientation is landscape+ (BOOL) isOrientationLandscape{ if (UIDeviceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation])){ return YES; }else{ return NO; } } Retrato //Return YES if current orientation is portrait + …
Continuar lendo