Skip to content

Commit

Permalink
1.0.1 release. Stops working in every app (was a bug) and Music crash…
Browse files Browse the repository at this point in the history
…es and not SpringBoard on iPhone 6/6+ (looking into a fix).
  • Loading branch information
iAdam1n committed Jul 2, 2015
1 parent 901662a commit f12f74a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 36 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export SDKVERSION = 8.4
ARCHS = armv7 arm64

TWEAK_NAME = MusicRotate
TWEAKNAME_FRAMEWORKS = UIKit
MusicRotate_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk
Expand Down
2 changes: 1 addition & 1 deletion MusicRotate.plist
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ Filter = { Bundles = ( "com.apple.UIKit" ); }; }
{ Filter = { Bundles = ( "com.apple.Music" ); }; }
33 changes: 0 additions & 33 deletions Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,7 @@
#import <UIKit/UIViewController.h>

%hook UIWindow
-(bool)isInterfaceAutorotationDisabled {
return FALSE;
}
-(bool)_shouldAutorotateToInterfaceOrientation:(long long)arg1 checkForDismissal:(bool)arg2 isRotationDisabled:(bool*)arg3 {
return TRUE;
}
%end

%hook UIInputWindowController
-(bool)setInterfaceAutorotationDisabled {
return FALSE;
}
%end

%hook UIMovieScrubber
-(bool)setRotationDisabled {
return FALSE;
}
%end

%hook UIViewController
-(bool)_isInterfaceAutorotationDisabled {
return FALSE;
}
%end

%hook UIApplication
-(bool)_rotationDisabledDuringTouch {
return FALSE;
}
-(bool)_setRotationDisabledDuringTouch {
return FALSE;
}
-(bool)_isAutorotationDisabledForAppWindows {
return FALSE;
}
%end
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: com.iadam1n.musicrotate
Name: MusicRotate
Pre-Depends: firmware (>=8.4)
Depends: mobilesubstrate
Version: 1.0
Version: 1.0.1
Architecture: iphoneos-arm
Description: Enable rotation in Music app on iOS 8.4+.
Maintainer: iAdam1n
Expand Down

0 comments on commit f12f74a

Please sign in to comment.