Update iPad Layout Option

Other hooks/classes of iPad Layout may get removed soon.
This commit is contained in:
arichornlover
2024-07-12 11:45:43 -05:00
committed by GitHub
parent 48b63b06bc
commit 767a0fbe81

View File

@@ -633,7 +633,10 @@ BOOL isTabSelected = NO;
%hook UIDevice
- (long long)userInterfaceIdiom {
return YES;
}
}
- (NSInteger)userInterfaceIdiom {
return UIUserInterfaceIdiomPad;
}
%end
%hook UIStatusBarStyleAttributes
- (long long)idiom {