We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdedda6 commit 2a78215Copy full SHA for 2a78215
LTHPasscodeViewController/LTHPasscodeViewController.m
@@ -12,7 +12,7 @@
12
13
#define LTHiOS8 ([[[UIDevice currentDevice] systemVersion] compare:@"8.0" \
14
options:NSNumericSearch] != NSOrderedAscending)
15
-#define LTHiPad (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
+#define LTHiPad ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)
16
17
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
18
#define LTHFailedAttemptLabelHeight [_failedAttemptLabel.text sizeWithAttributes: @{NSFontAttributeName : _labelFont}].height
0 commit comments