Xcode: Recebendo o aviso “conversão implícita do tipo de enumeração UIDeviceOrientation”
Aviso completo:
Implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation'
Colocando na linha:
[self orientationChanged:interfaceOrientation];
Este é o método:
- (void)orientationChanged:(UIInterfaceOrientation)interfaceOrientation
Não consigo entender de onde vem esse aviso.