Advertisement
princetechn0

Untitled

Feb 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #import "control.h"
  2. #import <QuartzCore/QuartzCore.h>
  3.  
  4. %hook SBVolumeHardwareButtonActions
  5.  
  6.  
  7.  
  8. NSDate *start = [NSDate date];
  9. -(void)volumeIncreasePressDown
  10. {
  11.  
  12.  
  13. }
  14. NSTimeInterval timeInterval = [start timeIntervalSinceNow];
  15.  
  16.  
  17.  
  18.  
  19.  
  20. -(void)volumeIncreasePressUp
  21. {
  22.  
  23. [[%c(SBMediaController) sharedInstance] changeTrack: 1];
  24.  
  25. }
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement