mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-10-30 04:30:36 -04:00
Update iPad Layout Option
Other hooks/classes of iPad Layout may get removed soon.
This commit is contained in:
@@ -633,7 +633,10 @@ BOOL isTabSelected = NO;
|
|||||||
%hook UIDevice
|
%hook UIDevice
|
||||||
- (long long)userInterfaceIdiom {
|
- (long long)userInterfaceIdiom {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
- (NSInteger)userInterfaceIdiom {
|
||||||
|
return UIUserInterfaceIdiomPad;
|
||||||
|
}
|
||||||
%end
|
%end
|
||||||
%hook UIStatusBarStyleAttributes
|
%hook UIStatusBarStyleAttributes
|
||||||
- (long long)idiom {
|
- (long long)idiom {
|
||||||
|
|||||||
Reference in New Issue
Block a user