mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 04:44:14 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		
							
								
								
									
										14
									
								
								Tweaks/iSponsorBlock/Headers/YouTubeHeader/YTCommonUtils.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Tweaks/iSponsorBlock/Headers/YouTubeHeader/YTCommonUtils.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| #import <Foundation/Foundation.h> | ||||
| #import <UIKit/UIKit.h> | ||||
|  | ||||
| @interface YTCommonUtils : NSObject | ||||
| + (BOOL)isIPhoneWithNotch; | ||||
| + (BOOL)isIPad; | ||||
| + (BOOL)isSmallDevice; | ||||
| + (BOOL)isAppRunningInFullScreen; | ||||
| + (unsigned int)uniformRandomWithUpperBound:(unsigned int)upperBound; | ||||
| + (UIWindow *)mainWindow; // YTMainWindow | ||||
| + (NSBundle *)bundleForClass:(Class)cls; | ||||
| + (NSBundle *)resourceBundleForModuleName:(NSString *)module appBundle:(NSBundle *)appBundle; | ||||
| + (NSString *)hardwareModel; | ||||
| @end | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn