├── DontSwipe.plist ├── Images ├── 1.jpeg ├── 2.jpeg └── 3.jpeg ├── Listener.xm ├── Makefile ├── control ├── dontswipe ├── Makefile ├── Resources │ ├── Info.plist │ ├── Root.plist │ ├── gmail@2x.png │ ├── icon@2x.png │ ├── paypal@2x.png │ └── twitter@2x.png ├── control ├── entry.plist ├── packages │ ├── com.s.preftest_0.0.1-1+debug_iphoneos-arm.deb │ ├── com.s.preftest_0.0.1-2+debug_iphoneos-arm.deb │ ├── com.s.preftest_0.0.1-3+debug_iphoneos-arm.deb │ └── com.s.preftest_0.0.1-4+debug_iphoneos-arm.deb ├── xxxRootListController.h └── xxxRootListController.m ├── layout └── var │ └── mobile │ └── icon │ ├── image.png │ ├── image_bottom_border.png │ ├── image_bottom_left.png │ ├── image_bottom_right.png │ ├── image_left_border.png │ ├── image_notch.png │ ├── image_right_border.png │ ├── image_top_left.png │ ├── image_top_left_border.png │ ├── image_top_right.png │ └── image_top_right_border.png ├── packages ├── com.secondeight.dontswipe_1.1-127+debug_iphoneos-arm.deb ├── com.secondeight.dontswipe_1.1-2+debug_iphoneos-arm.deb └── com.secondeight.dontswipe_1.2-3_iphoneos-arm.deb └── readme.md /DontSwipe.plist: -------------------------------------------------------------------------------- 1 | { 2 | Filter = { 3 | Bundles = ( "com.apple.springboard" ); 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /Images/1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/Images/1.jpeg -------------------------------------------------------------------------------- /Images/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/Images/2.jpeg -------------------------------------------------------------------------------- /Images/3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/Images/3.jpeg -------------------------------------------------------------------------------- /Listener.xm: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import 4 | extern UIWindow *window; 5 | UIWindow *window = nil; 6 | extern UIWindow *nomore; 7 | UIWindow *nomore = nil; 8 | extern UIWindow *border; 9 | UIWindow *border = nil; 10 | extern UIWindow *borderLeft; 11 | UIWindow *borderLeft = nil; 12 | extern UIWindow *borderRight; 13 | UIWindow *borderRight = nil; 14 | extern UIWindow *borderBottom; 15 | UIWindow *borderBottom = nil; 16 | extern UIImageView *dot; 17 | UIImageView *dot = nil; 18 | extern bool done; 19 | bool done = NO; 20 | extern bool logging; 21 | bool logging = NO; 22 | extern bool enableNotifs; 23 | bool enableNotifs = NO; 24 | extern bool enableSwipes; 25 | bool enableSwipes = NO; 26 | extern bool animsfinished; 27 | bool animsfinished = NO; 28 | 29 | 30 | @interface SBOrientationLockManager 31 | +(SBOrientationLockManager *)sharedInstance; 32 | -(bool)isUserLocked; 33 | -(void)lock; 34 | -(void)unlock; 35 | @end 36 | @interface CallNow : NSObject 37 | {} 38 | @end 39 | @implementation CallNow 40 | 41 | -(void)activator:(LAActivator *)activator receiveEvent:(LAEvent *)event { 42 | NSMutableDictionary *settings = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.secondeight.dontswipe.plist"]; 43 | 44 | logging = [settings objectForKey:@"AwesomeSwitch1"] ? [[settings objectForKey:@"AwesomeSwitch1"] boolValue] : NO; 45 | enableSwipes = [settings objectForKey:@"AwesomeSwitch3"] ? [[settings objectForKey:@"AwesomeSwitch3"] boolValue] : NO; 46 | if (!window){ 47 | 48 | //Rotation Lock 49 | if (!enableSwipes) { 50 | [[%c(SBOrientationLockManager) sharedInstance] performSelector:@selector(lock)]; 51 | } 52 | 53 | if ([UIScreen mainScreen].bounds.size.height < [UIScreen mainScreen].bounds.size.width) { 54 | 55 | NSLog(@"Listener Accepted"); 56 | 57 | window = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,[UIScreen mainScreen].bounds.size.height,[UIScreen mainScreen].bounds.size.width)]; 58 | window.hidden = NO; 59 | window.windowLevel = 3000; 60 | window.layer.masksToBounds = YES; 61 | window.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:0.4f]; 62 | [window setAlpha:0.0f]; 63 | AudioServicesPlaySystemSound(1519); 64 | done = YES; 65 | [UIView animateWithDuration:0.5f animations:^{ 66 | 67 | [window setAlpha:1.0f]; 68 | window.frame = CGRectMake(0,0,[UIScreen mainScreen].bounds.size.height,[UIScreen mainScreen].bounds.size.width); 69 | 70 | } completion:nil]; 71 | 72 | 73 | [UIView animateWithDuration:0.5f animations:^{ 74 | 75 | [window setAlpha:0.1f]; 76 | window.frame = CGRectMake(0,0,[UIScreen mainScreen].bounds.size.height,[UIScreen mainScreen].bounds.size.width); 77 | window.backgroundColor = [[UIColor clearColor]colorWithAlphaComponent:0.1f]; 78 | 79 | } completion:^(BOOL animsfinished){ 80 | if (enableSwipes){ 81 | window.hidden = YES; 82 | } 83 | }]; 84 | 85 | 86 | if (logging){ 87 | 88 | if ([UIScreen mainScreen].bounds.size.width == 812) { 89 | 90 | UIImage* top_left = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_top_left.png"]; 91 | UIImageView *top_left_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(0,0,40,40)] autorelease] initWithImage:top_left]; 92 | UIWindow *top_left_window = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,40,40)]; 93 | top_left_window.hidden = NO; 94 | top_left_window.windowLevel = 3001; 95 | top_left_window.layer.masksToBounds = YES; 96 | top_left_window.layer.cornerRadius = 0; 97 | [top_left_window setAlpha:1.0f]; 98 | [top_left_window addSubview:top_left_imageview]; 99 | UIImage* top_left_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_top_left_border.png"]; 100 | UIImageView *top_left_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(0,40,37,1.3f)] autorelease] initWithImage:top_left_border]; 101 | UIWindow *top_left_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(0,40,37,1.3f)]; 102 | top_left_border_window.hidden = NO; 103 | top_left_border_window.windowLevel = 3001; 104 | top_left_border_window.layer.masksToBounds = YES; 105 | top_left_border_window.layer.cornerRadius = 0; 106 | [top_left_border_window setAlpha:1.0f]; 107 | [top_left_border_window addSubview:top_left_border_imageview]; 108 | UIImage* notch = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_notch.png"]; 109 | UIImageView *notch_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(0,77,221,31.6f)] autorelease] initWithImage:notch]; 110 | UIWindow *notch_window = [[UIWindow alloc]initWithFrame:CGRectMake(0,77,221,31.6f)]; 111 | notch_window.hidden = NO; 112 | notch_window.windowLevel = 3001; 113 | notch_window.layer.masksToBounds = YES; 114 | notch_window.layer.cornerRadius = 0; 115 | [notch_window setAlpha:1.0f]; 116 | [notch_window addSubview:notch_imageview]; 117 | UIImage* top_right_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_top_right_border.png"]; 118 | UIImageView *top_right_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(0,298,37,1.3f)] autorelease] initWithImage:top_right_border]; 119 | UIWindow *top_right_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(0,298,37,1.3f)]; 120 | top_right_border_window.hidden = NO; 121 | top_right_border_window.windowLevel = 3001; 122 | top_right_border_window.layer.masksToBounds = YES; 123 | top_right_border_window.layer.cornerRadius = 0; 124 | [top_right_border_window setAlpha:1.0f]; 125 | [top_right_border_window addSubview:top_right_border_imageview]; 126 | UIImage* top_right = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_top_right.png"]; 127 | UIImageView *top_right_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(0,335,40,40)] autorelease] initWithImage:top_right]; 128 | UIWindow *top_right_window = [[UIWindow alloc]initWithFrame:CGRectMake(0,335,40,40)]; 129 | top_right_window.hidden = NO; 130 | top_right_window.windowLevel = 3001; 131 | top_right_window.layer.masksToBounds = YES; 132 | top_right_window.layer.cornerRadius = 0; 133 | [top_right_window setAlpha:1.0f]; 134 | [top_right_window addSubview:top_right_imageview]; 135 | UIImage* left_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_left_border.png"]; 136 | UIImageView *left_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(40,0,1.6f,732)] autorelease] initWithImage:left_border]; 137 | UIWindow *left_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(40,0,1.6f,732)]; 138 | left_border_window.hidden = NO; 139 | left_border_window.windowLevel = 3001; 140 | left_border_window.layer.masksToBounds = YES; 141 | left_border_window.layer.cornerRadius = 0; 142 | [left_border_window setAlpha:1.0f]; 143 | [left_border_window addSubview:left_border_imageview]; 144 | UIImage* right_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_right_border.png"]; 145 | UIImageView *right_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(40,373.3f,1.6f,732)] autorelease] initWithImage:right_border]; 146 | UIWindow *right_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(40,373.3f,1.6f,732)]; 147 | right_border_window.hidden = NO; 148 | right_border_window.windowLevel = 3001; 149 | right_border_window.layer.masksToBounds = YES; 150 | right_border_window.layer.cornerRadius = 0; 151 | [right_border_window setAlpha:1.0f]; 152 | [right_border_window addSubview:right_border_imageview]; 153 | UIImage* bottom_left = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_bottom_left.png"]; 154 | UIImageView *bottom_left_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(0,772,40,40)] autorelease] initWithImage:bottom_left]; 155 | UIWindow *bottom_left_window = [[UIWindow alloc]initWithFrame:CGRectMake(0,772,40,40)]; 156 | bottom_left_window.hidden = NO; 157 | bottom_left_window.windowLevel = 3001; 158 | bottom_left_window.layer.masksToBounds = YES; 159 | bottom_left_window.layer.cornerRadius = 0; 160 | [bottom_left_window setAlpha:1.0f]; 161 | [bottom_left_window addSubview:bottom_left_imageview]; 162 | UIImage* bottom_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_bottom_border.png"]; 163 | UIImageView *bottom_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(40,810.3f,295,1.3f)] autorelease] initWithImage:bottom_border]; 164 | UIWindow *bottom_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(40,810.3f,295,1.3f)]; 165 | bottom_border_window.hidden = NO; 166 | bottom_border_window.windowLevel = 3001; 167 | bottom_border_window.layer.masksToBounds = YES; 168 | bottom_border_window.layer.cornerRadius = 0; 169 | [bottom_border_window setAlpha:1.0f]; 170 | [bottom_border_window addSubview:bottom_border_imageview]; 171 | UIImage* bottom_right = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_bottom_right.png"]; 172 | UIImageView *bottom_right_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(335,772,40,40)] autorelease] initWithImage:bottom_right]; 173 | UIWindow *bottom_right_window = [[UIWindow alloc]initWithFrame:CGRectMake(335,772,40,40)]; 174 | bottom_right_window.hidden = NO; 175 | bottom_right_window.windowLevel = 3001; 176 | bottom_right_window.layer.masksToBounds = YES; 177 | bottom_right_window.layer.cornerRadius = 0; 178 | [bottom_right_window setAlpha:1.0f]; 179 | [bottom_right_window addSubview:bottom_right_imageview]; 180 | 181 | } 182 | else { 183 | //Top Border 184 | border = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,[UIScreen mainScreen].bounds.size.height,1)]; 185 | border.hidden = NO; 186 | border.windowLevel = 3001; 187 | border.layer.masksToBounds = YES; 188 | border.layer.cornerRadius = 0; 189 | border.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:1.0f]; 190 | [border setAlpha:1.0f]; 191 | //Left Border 192 | borderLeft = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,1,[UIScreen mainScreen].bounds.size.width)]; 193 | borderLeft.hidden = NO; 194 | borderLeft.windowLevel = 3001; 195 | borderLeft.layer.masksToBounds = YES; 196 | borderLeft.layer.cornerRadius = 0; 197 | borderLeft.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:1.0f]; 198 | [borderLeft setAlpha:1.0f]; 199 | //Right Border 200 | borderRight = [[UIWindow alloc]initWithFrame:CGRectMake([UIScreen mainScreen].bounds.size.height-1,0,1,[UIScreen mainScreen].bounds.size.width)]; 201 | borderRight.hidden = NO; 202 | borderRight.windowLevel = 3001; 203 | borderRight.layer.masksToBounds = YES; 204 | borderRight.layer.cornerRadius = 0; 205 | borderRight.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:1.0f]; 206 | [borderRight setAlpha:1.0f]; 207 | //Bottom Border 208 | borderBottom = [[UIWindow alloc]initWithFrame:CGRectMake(0,[UIScreen mainScreen].bounds.size.width-1,[UIScreen mainScreen].bounds.size.height,1)]; 209 | borderBottom.hidden = NO; 210 | borderBottom.windowLevel = 3001; 211 | borderBottom.layer.masksToBounds = YES; 212 | borderBottom.layer.cornerRadius = 0; 213 | borderBottom.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:1.0f]; 214 | [borderBottom setAlpha:1.0f]; 215 | } 216 | } 217 | 218 | } 219 | else { 220 | 221 | NSLog(@"Listener Accepted"); 222 | 223 | window = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,[UIScreen mainScreen].bounds.size.width,[UIScreen mainScreen].bounds.size.height)]; 224 | window.hidden = NO; 225 | window.windowLevel = 3000; 226 | window.layer.masksToBounds = YES; 227 | window.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:0.4f]; 228 | [window setAlpha:0.0f]; 229 | AudioServicesPlaySystemSound(1519); 230 | done = YES; 231 | [UIView animateWithDuration:0.5f animations:^{ 232 | 233 | [window setAlpha:1.0f]; 234 | window.frame = CGRectMake(0,0,[UIScreen mainScreen].bounds.size.width,[UIScreen mainScreen].bounds.size.height); 235 | 236 | } completion:nil]; 237 | 238 | 239 | [UIView animateWithDuration:0.5f animations:^{ 240 | 241 | [window setAlpha:0.1f]; 242 | window.frame = CGRectMake(0,0,[UIScreen mainScreen].bounds.size.width,[UIScreen mainScreen].bounds.size.height); 243 | window.backgroundColor = [[UIColor clearColor]colorWithAlphaComponent:0.1f]; 244 | 245 | } completion:^(BOOL animsfinished){ 246 | if (enableSwipes){ 247 | window.hidden = YES; 248 | } 249 | }]; 250 | 251 | 252 | if (logging){ 253 | if ([UIScreen mainScreen].bounds.size.height == 812) { 254 | 255 | UIImage* top_left = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_top_left.png"]; 256 | UIImageView *top_left_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(0,0,40,40)] autorelease] initWithImage:top_left]; 257 | UIWindow *top_left_window = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,40,40)]; 258 | top_left_window.hidden = NO; 259 | top_left_window.windowLevel = 3001; 260 | top_left_window.layer.masksToBounds = YES; 261 | top_left_window.layer.cornerRadius = 0; 262 | [top_left_window setAlpha:1.0f]; 263 | [top_left_window addSubview:top_left_imageview]; 264 | UIImage* top_left_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_top_left_border.png"]; 265 | UIImageView *top_left_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(40,0,37,1.3f)] autorelease] initWithImage:top_left_border]; 266 | UIWindow *top_left_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(40,0,37,1.3f)]; 267 | top_left_border_window.hidden = NO; 268 | top_left_border_window.windowLevel = 3001; 269 | top_left_border_window.layer.masksToBounds = YES; 270 | top_left_border_window.layer.cornerRadius = 0; 271 | [top_left_border_window setAlpha:1.0f]; 272 | top_left_border_window.backgroundColor = [UIColor redColor]; 273 | [top_left_border_window addSubview:top_left_border_imageview]; 274 | UIImage* notch = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_notch.png"]; 275 | UIImageView *notch_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(77,0,221,31.6f)] autorelease] initWithImage:notch]; 276 | UIWindow *notch_window = [[UIWindow alloc]initWithFrame:CGRectMake(77,0,221,31.6f)]; 277 | notch_window.hidden = NO; 278 | notch_window.windowLevel = 3001; 279 | notch_window.layer.masksToBounds = YES; 280 | notch_window.layer.cornerRadius = 0; 281 | [notch_window setAlpha:1.0f]; 282 | notch_window.backgroundColor = [UIColor redColor]; 283 | [notch_window addSubview:notch_imageview]; 284 | UIImage* top_right_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_top_right_border.png"]; 285 | UIImageView *top_right_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(298,0,37,1.3f)] autorelease] initWithImage:top_right_border]; 286 | UIWindow *top_right_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(298,0,37,1.3f)]; 287 | top_right_border_window.hidden = NO; 288 | top_right_border_window.windowLevel = 3001; 289 | top_right_border_window.layer.masksToBounds = YES; 290 | top_right_border_window.layer.cornerRadius = 0; 291 | [top_right_border_window setAlpha:1.0f]; 292 | top_right_border_window.backgroundColor = [UIColor redColor]; 293 | [top_right_border_window addSubview:top_right_border_imageview]; 294 | UIImage* top_right = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_top_right.png"]; 295 | UIImageView *top_right_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(335,0,40,40)] autorelease] initWithImage:top_right]; 296 | UIWindow *top_right_window = [[UIWindow alloc]initWithFrame:CGRectMake(335,0,40,40)]; 297 | top_right_window.hidden = NO; 298 | top_right_window.windowLevel = 3001; 299 | top_right_window.layer.masksToBounds = YES; 300 | top_right_window.layer.cornerRadius = 0; 301 | [top_right_window setAlpha:0.5f]; 302 | top_right_window.backgroundColor = [UIColor blueColor]; 303 | [top_right_window addSubview:top_right_imageview]; 304 | UIImage* left_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_left_border.png"]; 305 | UIImageView *left_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(0,40,1.6f,732)] autorelease] initWithImage:left_border]; 306 | UIWindow *left_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(0,40,1.6f,732)]; 307 | left_border_window.hidden = NO; 308 | left_border_window.windowLevel = 3001; 309 | left_border_window.layer.masksToBounds = YES; 310 | left_border_window.layer.cornerRadius = 0; 311 | [left_border_window setAlpha:1.0f]; 312 | left_border_window.backgroundColor = [UIColor redColor]; 313 | [left_border_window addSubview:left_border_imageview]; 314 | UIImage* right_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_right_border.png"]; 315 | UIImageView *right_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(373.3f,40,1.6f,732)] autorelease] initWithImage:right_border]; 316 | UIWindow *right_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(373.3f,40,1.6f,732)]; 317 | right_border_window.hidden = NO; 318 | right_border_window.windowLevel = 3001; 319 | right_border_window.layer.masksToBounds = YES; 320 | right_border_window.layer.cornerRadius = 0; 321 | [right_border_window setAlpha:1.0f]; 322 | right_border_window.backgroundColor = [UIColor redColor]; 323 | [right_border_window addSubview:right_border_imageview]; 324 | UIImage* bottom_left = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_bottom_left.png"]; 325 | UIImageView *bottom_left_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(772,0,40,40)] autorelease] initWithImage:bottom_left]; 326 | UIWindow *bottom_left_window = [[UIWindow alloc]initWithFrame:CGRectMake(772,0,40,40)]; 327 | bottom_left_window.hidden = NO; 328 | bottom_left_window.windowLevel = 3001; 329 | bottom_left_window.layer.masksToBounds = YES; 330 | bottom_left_window.layer.cornerRadius = 0; 331 | [bottom_left_window setAlpha:1.0f]; 332 | bottom_left_window.backgroundColor = [UIColor redColor]; 333 | [bottom_left_window addSubview:bottom_left_imageview]; 334 | UIImage* bottom_border = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_bottom_border.png"]; 335 | UIImageView *bottom_border_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(810.3f,40,295,1.3f)] autorelease] initWithImage:bottom_border]; 336 | UIWindow *bottom_border_window = [[UIWindow alloc]initWithFrame:CGRectMake(810.3f,40,295,1.3f)]; 337 | bottom_border_window.hidden = NO; 338 | bottom_border_window.windowLevel = 3001; 339 | bottom_border_window.layer.masksToBounds = YES; 340 | bottom_border_window.layer.cornerRadius = 0; 341 | [bottom_border_window setAlpha:1.0f]; 342 | bottom_border_window.backgroundColor = [UIColor redColor]; 343 | [bottom_border_window addSubview:bottom_border_imageview]; 344 | UIImage* bottom_right = [UIImage imageWithContentsOfFile:@"/var/mobile/icon/image_bottom_right.png"]; 345 | UIImageView *bottom_right_imageview = [[[[UIImageView alloc] initWithFrame:CGRectMake(772,335,40,40)] autorelease] initWithImage:bottom_right]; 346 | UIWindow *bottom_right_window = [[UIWindow alloc]initWithFrame:CGRectMake(772,335,40,40)]; 347 | bottom_right_window.hidden = NO; 348 | bottom_right_window.windowLevel = 3001; 349 | bottom_right_window.layer.masksToBounds = YES; 350 | bottom_right_window.layer.cornerRadius = 0; 351 | [bottom_right_window setAlpha:1.0f]; 352 | bottom_right_window.backgroundColor = [UIColor redColor]; 353 | [bottom_right_window addSubview:bottom_right_imageview]; 354 | 355 | } 356 | else { 357 | //Top Border 358 | border = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,[UIScreen mainScreen].bounds.size.width,1)]; 359 | border.hidden = NO; 360 | border.windowLevel = 3001; 361 | border.layer.masksToBounds = YES; 362 | border.layer.cornerRadius = 0; 363 | border.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:1.0f]; 364 | [border setAlpha:1.0f]; 365 | //Left Border 366 | borderLeft = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,1,[UIScreen mainScreen].bounds.size.height)]; 367 | borderLeft.hidden = NO; 368 | borderLeft.windowLevel = 3001; 369 | borderLeft.layer.masksToBounds = YES; 370 | borderLeft.layer.cornerRadius = 0; 371 | borderLeft.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:1.0f]; 372 | [borderLeft setAlpha:1.0f]; 373 | //Right Border 374 | borderRight = [[UIWindow alloc]initWithFrame:CGRectMake([UIScreen mainScreen].bounds.size.width-1,0,1,[UIScreen mainScreen].bounds.size.height)]; 375 | borderRight.hidden = NO; 376 | borderRight.windowLevel = 3001; 377 | borderRight.layer.masksToBounds = YES; 378 | borderRight.layer.cornerRadius = 0; 379 | borderRight.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:1.0f]; 380 | [borderRight setAlpha:1.0f]; 381 | //Bottom Border 382 | borderBottom = [[UIWindow alloc]initWithFrame:CGRectMake(0,[UIScreen mainScreen].bounds.size.height-1,[UIScreen mainScreen].bounds.size.width,1)]; 383 | borderBottom.hidden = NO; 384 | borderBottom.windowLevel = 3001; 385 | borderBottom.layer.masksToBounds = YES; 386 | borderBottom.layer.cornerRadius = 0; 387 | borderBottom.backgroundColor = [[UIColor redColor]colorWithAlphaComponent:1.0f]; 388 | [borderBottom setAlpha:1.0f]; 389 | } 390 | } 391 | } 392 | } 393 | 394 | else { 395 | // Rotation Lock 396 | if (!enableSwipes) { 397 | [[%c(SBOrientationLockManager) sharedInstance] performSelector:@selector(unlock)]; 398 | } 399 | 400 | 401 | if ([UIScreen mainScreen].bounds.size.height < [UIScreen mainScreen].bounds.size.width) { 402 | // run this code 403 | nomore = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,[UIScreen mainScreen].bounds.size.height,[UIScreen mainScreen].bounds.size.width)]; 404 | nomore.hidden = NO; 405 | nomore.windowLevel = 3000;//UIWindowLevelStatusBar; 406 | nomore.layer.masksToBounds = YES; 407 | nomore.backgroundColor = [[UIColor greenColor]colorWithAlphaComponent:0.4f]; 408 | [nomore setAlpha:0.0f]; 409 | window.hidden = YES; 410 | window = nil; 411 | if ([UIScreen mainScreen].bounds.size.height == 812) { 412 | dot.hidden = YES; 413 | dot = nil; 414 | border.hidden = YES; 415 | border = nil; 416 | } 417 | else { 418 | border.hidden = YES; 419 | border = nil; 420 | borderLeft.hidden = YES; 421 | borderLeft = nil; 422 | borderRight.hidden = YES; 423 | borderRight = nil; 424 | borderBottom.hidden = YES; 425 | borderBottom = nil; 426 | } 427 | done = NO; 428 | AudioServicesPlaySystemSound(1519); 429 | //AirplaneMode 430 | 431 | //End 432 | [UIView animateWithDuration:0.5f animations:^{ 433 | 434 | [nomore setAlpha:1.0f]; 435 | nomore.frame = CGRectMake(0,0,[UIScreen mainScreen].bounds.size.height,[UIScreen mainScreen].bounds.size.width); 436 | 437 | } completion:nil]; 438 | 439 | 440 | [UIView animateWithDuration:0.5f animations:^{ 441 | 442 | [nomore setAlpha:0.1f]; 443 | nomore.frame = CGRectMake(0,0,[UIScreen mainScreen].bounds.size.height,[UIScreen mainScreen].bounds.size.width); 444 | nomore.backgroundColor = [[UIColor clearColor]colorWithAlphaComponent:0.1f]; 445 | 446 | } completion:nil]; 447 | //nomore.hidden = YES; 448 | [nomore setAlpha:0.0f]; 449 | nomore = nil; 450 | 451 | } 452 | else { 453 | // run this code 454 | nomore = [[UIWindow alloc]initWithFrame:CGRectMake(0,0,[UIScreen mainScreen].bounds.size.width,[UIScreen mainScreen].bounds.size.height)]; 455 | nomore.hidden = NO; 456 | nomore.windowLevel = 3000;//UIWindowLevelStatusBar; 457 | nomore.layer.masksToBounds = YES; 458 | nomore.backgroundColor = [[UIColor greenColor]colorWithAlphaComponent:0.4f]; 459 | [nomore setAlpha:0.0f]; 460 | window.hidden = YES; 461 | window = nil; 462 | if ([UIScreen mainScreen].bounds.size.height == 812) { 463 | dot.hidden = YES; 464 | dot = nil; 465 | border.hidden = YES; 466 | border = nil; 467 | } 468 | else { 469 | border.hidden = YES; 470 | border = nil; 471 | borderLeft.hidden = YES; 472 | borderLeft = nil; 473 | borderRight.hidden = YES; 474 | borderRight = nil; 475 | borderBottom.hidden = YES; 476 | borderBottom = nil; 477 | } 478 | done = NO; 479 | AudioServicesPlaySystemSound(1519); 480 | //AirplaneMode 481 | 482 | //End 483 | [UIView animateWithDuration:0.5f animations:^{ 484 | 485 | [nomore setAlpha:1.0f]; 486 | nomore.frame = CGRectMake(0,0,[UIScreen mainScreen].bounds.size.width,[UIScreen mainScreen].bounds.size.height); 487 | 488 | } completion:nil]; 489 | 490 | 491 | [UIView animateWithDuration:0.5f animations:^{ 492 | 493 | [nomore setAlpha:0.1f]; 494 | nomore.frame = CGRectMake(0,0,[UIScreen mainScreen].bounds.size.width,[UIScreen mainScreen].bounds.size.height); 495 | nomore.backgroundColor = [[UIColor clearColor]colorWithAlphaComponent:0.1f]; 496 | 497 | } completion:nil]; 498 | //nomore.hidden = YES; 499 | [nomore setAlpha:0.0f]; 500 | nomore = nil; 501 | } 502 | 503 | } 504 | 505 | 506 | 507 | } 508 | 509 | +(void)load { 510 | NSAutoreleasePool *p = [[NSAutoreleasePool alloc] init]; 511 | [[LAActivator sharedInstance] registerListener:[self new] forName:@"DontSwipe"]; 512 | [p release]; 513 | } 514 | 515 | @end 516 | %hook SBHomeHardwareButtonActions 517 | -(BOOL)_shouldIgnorePressesDueToProxOrIdle:(id*)arg1 { 518 | return done; 519 | } 520 | %end 521 | %hook SBLockHardwareButtonActions 522 | -(void)performSinglePressAction{ 523 | if (!done) { 524 | %orig; 525 | } 526 | } 527 | -(void)performDoublePressAction{ 528 | if (!done) { 529 | %orig; 530 | } 531 | } 532 | -(void)performTriplePressAction{ 533 | if (!done) { 534 | %orig; 535 | } 536 | } 537 | %end 538 | %hook SBVolumeHardwareButtonActions 539 | -(void)volumeIncreasePressDown{ 540 | if (!done) { 541 | %orig; 542 | } 543 | } 544 | -(void)volumeIncreasePressUp{ 545 | if (!done) { 546 | %orig; 547 | } 548 | } 549 | -(void)volumeDecreasePressDown{ 550 | if (!done) { 551 | %orig; 552 | } 553 | } 554 | -(void)volumeDecreasePressUp{ 555 | if (!done) { 556 | %orig; 557 | } 558 | } 559 | %end 560 | %hook SBCoverSheetSlidingViewController 561 | -(void)_handlePresentGesture:(id)arg1 { 562 | if (!done) { 563 | %orig; 564 | } 565 | } 566 | -(void)_handleDismissGesture:(id)arg1 { 567 | if (!done) { 568 | %orig; 569 | } 570 | } 571 | %end 572 | %hook SBControlCenterController 573 | -(void)grabberTongueBeganPulling:(id)arg1 withDistance:(double)arg2 andVelocity:(double)arg3 { 574 | if (!done) { 575 | %orig; 576 | } 577 | } 578 | %end 579 | %hook SBReachabilityManager 580 | -(void)_handleReachabilityActivated { 581 | if (!done) { 582 | %orig; 583 | } 584 | } 585 | %end 586 | %hook SBFluidSwitcherGestureManager 587 | -(void)grabberTongueBeganPulling:(id)arg1 withDistance:(double)arg2 andVelocity:(double)arg3 { 588 | if (!done) { 589 | %orig; 590 | } 591 | } 592 | %end 593 | %hook SBNotificationBannerDestination 594 | -(void)notificationViewControllerIsReadyToBePresented:(id)arg1 { 595 | NSMutableDictionary *settings = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.secondeight.dontswipe.plist"]; 596 | 597 | enableNotifs = [settings objectForKey:@"AwesomeSwitch2"] ? [[settings objectForKey:@"AwesomeSwitch2"] boolValue] : NO; 598 | if (enableNotifs){ 599 | if (!done) { 600 | %orig; 601 | } 602 | } 603 | } 604 | -(BOOL)_isQuietModeEnabledAndActive { 605 | NSMutableDictionary *settings = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.secondeight.dontswipe.plist"]; 606 | 607 | enableNotifs = [settings objectForKey:@"AwesomeSwitch2"] ? [[settings objectForKey:@"AwesomeSwitch2"] boolValue] : NO; 608 | if (enableNotifs){ 609 | if (!done) { 610 | return %orig; 611 | } 612 | else { 613 | return YES; 614 | } 615 | } 616 | else { 617 | return %orig; 618 | } 619 | } 620 | %end 621 | %hook SBOrientationLockManager 622 | -(void)unlock{ 623 | %orig; 624 | } 625 | -(void)lock{ 626 | %orig; 627 | } 628 | %end 629 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | INSTALL_TARGET_PROCESSES = SpringBoard 2 | 3 | include $(THEOS)/makefiles/common.mk 4 | 5 | TWEAK_NAME = DontSwipe 6 | 7 | DontSwipe_FILES = Listener.xm 8 | DontSwipe_LIBRARIES = activator 9 | DontSwipe_FRAMEWORKS = AudioToolbox 10 | 11 | export ARCHS = arm64e 12 | export SDKVERSION = 13.2 13 | THEOS_DEVICE_IP = iPhone.local 14 | 15 | include $(THEOS_MAKE_PATH)/tweak.mk 16 | 17 | after-install:: 18 | install.exec "killall -9 SpringBoard" 19 | 20 | SUBPROJECTS += dontswipe 21 | include $(THEOS_MAKE_PATH)/aggregate.mk 22 | -------------------------------------------------------------------------------- /control: -------------------------------------------------------------------------------- 1 | Package: com.secondeight.dontswipe 2 | Name: DontSwipe 3 | Depends: mobilesubstrate, libactivator 4 | Version: 1.2 5 | Architecture: iphoneos-arm 6 | Description: Use an activator gesture to prevent people from swiping when showing them a photo! Works in any application. 7 | Maintainer: Liberato Aguilar 8 | Author: Liberato Aguilar 9 | Section: Tweaks 10 | -------------------------------------------------------------------------------- /dontswipe/Makefile: -------------------------------------------------------------------------------- 1 | include $(THEOS)/makefiles/common.mk 2 | 3 | BUNDLE_NAME = DontSwipe 4 | DontSwipe_FILES = xxxRootListController.m 5 | DontSwipe_INSTALL_PATH = /Library/PreferenceBundles 6 | DontSwipe_PRIVATE_FRAMEWORKS = Preferences 7 | DontSwipe_CFLAGS = -fobjc-arc 8 | 9 | export ARCHS = arm64e 10 | export SDKVERSION = 13.2 11 | THEOS_DEVICE_IP = iPhone.local 12 | 13 | include $(THEOS_MAKE_PATH)/bundle.mk 14 | 15 | internal-stage:: 16 | $(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END) 17 | $(ECHO_NOTHING)cp entry.plist $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences/DontSwipe.plist$(ECHO_END) 18 | -------------------------------------------------------------------------------- /dontswipe/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | DontSwipe 9 | CFBundleIdentifier 10 | com.secondeight.dontswipe 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1.0 21 | NSPrincipalClass 22 | xxxRootListController 23 | 24 | 25 | -------------------------------------------------------------------------------- /dontswipe/Resources/Root.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | items 6 | 7 | 8 | cellClass 9 | SRSwitchTableCell 10 | default 11 | 12 | defaults 13 | com.secondeight.dontswipe 14 | key 15 | AwesomeSwitch1 16 | label 17 | Enable Border 18 | 19 | 20 | cell 21 | PSGroupCell 22 | footerText 23 | Disables notifications when DontSwipe is active. 24 | 25 | 26 | cellClass 27 | SRSwitchTableCell 28 | default 29 | 30 | defaults 31 | com.secondeight.dontswipe 32 | key 33 | AwesomeSwitch2 34 | label 35 | Disable Notifications 36 | 37 | 38 | cell 39 | PSGroupCell 40 | footerText 41 | When this setting is enabled user interactions with the app are allowed, but exiting the app is still disabled. 42 | 43 | 44 | cellClass 45 | SRSwitchTableCell 46 | default 47 | 48 | defaults 49 | com.secondeight.dontswipe 50 | key 51 | AwesomeSwitch3 52 | label 53 | Enable Swipes 54 | 55 | 56 | cell 57 | PSGroupCell 58 | label 59 | 60 | 61 | 62 | cell 63 | PSButtonCell 64 | action 65 | respringboi 66 | label 67 | Respring 68 | 69 | 70 | cell 71 | PSGroupCell 72 | label 73 | Social 74 | 75 | 76 | cell 77 | PSButtonCell 78 | action 79 | emailMethod 80 | label 81 | Email Me 82 | icon 83 | gmail.png 84 | 85 | 86 | cell 87 | PSButtonCell 88 | action 89 | contactMethod 90 | label 91 | @SecondEight1 92 | icon 93 | twitter.png 94 | 95 | 96 | cell 97 | PSButtonCell 98 | action 99 | donationMethod 100 | label 101 | Buy me a coffee? 102 | icon 103 | paypal.png 104 | 105 | 106 | cell 107 | PSGroupCell 108 | label 109 | Version 1.2 110 | 111 | 112 | cell 113 | PSGroupCell 114 | footerText 115 | © 2018 Liberato Aguilar/SecondEight1 116 | 117 | 118 | title 119 | DontSwipe 120 | 121 | 122 | -------------------------------------------------------------------------------- /dontswipe/Resources/gmail@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/dontswipe/Resources/gmail@2x.png -------------------------------------------------------------------------------- /dontswipe/Resources/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/dontswipe/Resources/icon@2x.png -------------------------------------------------------------------------------- /dontswipe/Resources/paypal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/dontswipe/Resources/paypal@2x.png -------------------------------------------------------------------------------- /dontswipe/Resources/twitter@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/dontswipe/Resources/twitter@2x.png -------------------------------------------------------------------------------- /dontswipe/control: -------------------------------------------------------------------------------- 1 | Package: com.s.preftest 2 | Name: PrefTest 3 | Depends: mobilesubstrate 4 | Version: 0.0.1 5 | Architecture: iphoneos-arm 6 | Description: An awesome MobileSubstrate tweak! 7 | Maintainer: S 8 | Author: S 9 | Section: Tweaks 10 | -------------------------------------------------------------------------------- /dontswipe/entry.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | entry 6 | 7 | bundle 8 | DontSwipe 9 | cell 10 | PSLinkCell 11 | detail 12 | xxxRootListController 13 | icon 14 | icon.png 15 | isController 16 | 17 | label 18 | DontSwipe 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /dontswipe/packages/com.s.preftest_0.0.1-1+debug_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/dontswipe/packages/com.s.preftest_0.0.1-1+debug_iphoneos-arm.deb -------------------------------------------------------------------------------- /dontswipe/packages/com.s.preftest_0.0.1-2+debug_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/dontswipe/packages/com.s.preftest_0.0.1-2+debug_iphoneos-arm.deb -------------------------------------------------------------------------------- /dontswipe/packages/com.s.preftest_0.0.1-3+debug_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/dontswipe/packages/com.s.preftest_0.0.1-3+debug_iphoneos-arm.deb -------------------------------------------------------------------------------- /dontswipe/packages/com.s.preftest_0.0.1-4+debug_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/dontswipe/packages/com.s.preftest_0.0.1-4+debug_iphoneos-arm.deb -------------------------------------------------------------------------------- /dontswipe/xxxRootListController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface xxxRootListController : PSListController 4 | 5 | @end 6 | -------------------------------------------------------------------------------- /dontswipe/xxxRootListController.m: -------------------------------------------------------------------------------- 1 | #include "xxxRootListController.h" 2 | @interface PSTableCell : UITableViewCell 3 | @end 4 | @interface PSControlTableCell : PSTableCell 5 | - (UIControl *)control; 6 | @end 7 | @interface PSSwitchTableCell : PSControlTableCell 8 | - (id)initWithStyle:(int)style reuseIdentifier:(id)identifier specifier:(id)specifier; 9 | @end 10 | 11 | @interface SRSwitchTableCell : PSSwitchTableCell 12 | @end 13 | 14 | @implementation SRSwitchTableCell 15 | 16 | -(id)initWithStyle:(int)style reuseIdentifier:(id)identifier specifier:(id)specifier { //init method 17 | self = [super initWithStyle:style reuseIdentifier:identifier specifier:specifier]; //call the super init method 18 | if (self) { 19 | [((UISwitch *)[self control]) setOnTintColor:[UIColor colorWithRed:0.24 green:0.35 blue:0.65 alpha:1.0]]; //change the switch color 20 | } 21 | return self; 22 | } 23 | 24 | @end 25 | 26 | //https://github.com/libpd/pd-for-ios/issues/19 Mariusjcb fix for system(); 27 | 28 | #include 29 | 30 | extern char **environ; 31 | 32 | void run_cmd(char *cmd) 33 | { 34 | pid_t pid; 35 | char *argv[] = {"sh", "-c", cmd, NULL}; 36 | int status; 37 | 38 | status = posix_spawn(&pid, "/bin/sh", NULL, NULL, argv, environ); 39 | if (status == 0) { 40 | if (waitpid(pid, &status, 0) == -1) { 41 | perror("waitpid"); 42 | } 43 | } 44 | } 45 | 46 | @implementation xxxRootListController 47 | 48 | - (NSArray *)specifiers { 49 | if (!_specifiers) { 50 | _specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self]; 51 | } 52 | 53 | return _specifiers; 54 | } 55 | 56 | - (void) contactMethod { 57 | [[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"https://twitter.com/SecondEight1/"] options:@{} completionHandler:nil]; 58 | } 59 | 60 | -(void) donationMethod { 61 | [[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"https://www.paypal.me/LiberatoAguilar"] options:@{} completionHandler:nil]; 62 | } 63 | 64 | -(void) emailMethod { 65 | [[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"mailto:liberatoalanaguilar@gmail.com"] options:@{} completionHandler:nil]; 66 | } 67 | 68 | - (void) respringboi { 69 | 70 | run_cmd("killall -9 SpringBoard"); 71 | } 72 | @end 73 | -------------------------------------------------------------------------------- /layout/var/mobile/icon/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_bottom_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_bottom_border.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_bottom_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_bottom_left.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_bottom_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_bottom_right.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_left_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_left_border.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_notch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_notch.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_right_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_right_border.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_top_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_top_left.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_top_left_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_top_left_border.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_top_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_top_right.png -------------------------------------------------------------------------------- /layout/var/mobile/icon/image_top_right_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/layout/var/mobile/icon/image_top_right_border.png -------------------------------------------------------------------------------- /packages/com.secondeight.dontswipe_1.1-127+debug_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/packages/com.secondeight.dontswipe_1.1-127+debug_iphoneos-arm.deb -------------------------------------------------------------------------------- /packages/com.secondeight.dontswipe_1.1-2+debug_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/packages/com.secondeight.dontswipe_1.1-2+debug_iphoneos-arm.deb -------------------------------------------------------------------------------- /packages/com.secondeight.dontswipe_1.2-3_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/a1eba54d554aecda3f83b062e7f4333f917454a3/packages/com.secondeight.dontswipe_1.2-3_iphoneos-arm.deb -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # DontSwipe 2 | 3 | - Created June 2018 4 | - 5/5 Star Rating!! 5 | - Over 5,000 downloads! 6 | - https://repo.packix.com/package/com.secondeight.dontswipe/ 7 | - iOS 11-13 8 | 9 | Prevent people from snooping around your phone! DontSwipe uses an activator gesture to prevent people from swiping when showing them a photo and going to other applications. DontSwipe works system-wide. 10 | 11 | DontSwipe disables: 12 | 13 | - Any swiping or taping gestures on the screen 14 | - Volume button interactions 15 | - Home button interactions 16 | - Home gesture interactions 17 | - Lock button interactions 18 | - Notification Center interactions 19 | - Control Center interactions 20 | - Reachability 21 | 22 | A red flash will be seen when DontSwipe is activated followed by a small red border showing up on the screen indicating DontSwipe is active. By using the activator again a green flash will appear to indicate that your screen is back to normal. 23 | 24 | ![image](https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/master/Images/1.jpeg) 25 | ![image](https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/master/Images/2.jpeg) 26 | ![image](https://raw.githubusercontent.com/liberatoaguilar/DontSwipe/master/Images/3.jpeg) 27 | --------------------------------------------------------------------------------