UIAlertController *alertController = [UIAlertController alertControllerWithTitle:nil message:@"hello" preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction *ok = [UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDefault handler:hander]
UIAlertAction *cancel = [UIAlertAction actionWithTitle:@"cancel" style:UIAlertActionStyleCancel handler:hander]
[alertController addAction:ok];
[alertController addAction:cancel];
Die Warnung zeigt:
iOS 8.1 iPod touch: [OK] [Abbrechen]
iOS 8.3 iPhone 6 Plus: [Abbrechen] [OK]UIAlertController inkonsistente Position der Tasten
Warum unterscheiden sich die Tasten von einem iPod und einem iPhone?
So ist Ihre Frage "Warum sind die Position der Tasten anders als ein iPod und ein iPhone?" –
Schaltfläche Abbrechen wird in der Regel links auf dem Mac platziert und iOS Es sieht wie ein Bug aus – kelin
Ja, das ist seltsam –