possibly fixed iOS 12
This commit is contained in:
		
							
								
								
									
										3
									
								
								Tweak.xm
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Tweak.xm
									
									
									
									
									
								
							@ -69,7 +69,8 @@ static bool isFirstTryAfterEnding = false;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
%ctor {
 | 
					%ctor {
 | 
				
			||||||
	float version = [[[UIDevice currentDevice] systemVersion] floatValue];
 | 
						float version = [[[UIDevice currentDevice] systemVersion] floatValue];
 | 
				
			||||||
	if (version <= 12) {
 | 
						NSLog(@"AUTOREPLAY - Version: %f", version);
 | 
				
			||||||
 | 
						if (version < 13) {
 | 
				
			||||||
		%init(IOS12);
 | 
							%init(IOS12);
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		%init(IOS13);
 | 
							%init(IOS13);
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								control
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								control
									
									
									
									
									
								
							@ -7,3 +7,5 @@ Description: An awesome MobileSubstrate tweak!
 | 
				
			|||||||
Maintainer: Devvix
 | 
					Maintainer: Devvix
 | 
				
			||||||
Author: Devvix
 | 
					Author: Devvix
 | 
				
			||||||
Section: Tweaks
 | 
					Section: Tweaks
 | 
				
			||||||
 | 
					Depiction: https://repo.devvix.com/depictions/?p=com.devvix.autoreplay
 | 
				
			||||||
 | 
					SileoDepiction: https://repo.devvix.com/sileodepictions/com.devvix.autoreplay/depiction.json
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user