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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 {