Jump to content

31 posts in this topic

Recommended Posts

Posted
  On 8/5/2015 at 9:40 PM, Salman1700 said:

Try now :)

Tweak.xm:
%hook Springboard

- (bool)homeScreenRotationStyleWantsUIKitRotation {
return TRUE;
}

- (bool)homeScreenSupportsRotation {
return TRUE;
}

- (long long)homeScreenRotationStyle {
return 2;
}
%end

Thanks, but still isn't working. Now I really am not sure why.

  • Replies 30
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Tell me error so we can see which line is it

Fixed :)

 

%hook Springboard

-(bool)homeScreenRotationStyleWantsUIKitRotation {
return TRUE;
}

-(bool)homeScreenSupportsRotation {
return TRUE;
}

-(long long)homeScreenRotationStyle {
return 2;
}
%end
Posted
  On 8/5/2015 at 10:13 PM, Salman1700 said:

Tell me error so we can see which line is it Fixed :)

%hook Springboard

-(bool)homeScreenRotationStyleWantsUIKitRotation {
return TRUE;
}

-(bool)homeScreenSupportsRotation {
return TRUE;
}

-(long long)homeScreenRotationStyle {
return 2;
}
%end

It compiles fine and everything checks out, it just doesnt work. And nope, still not working.

Posted
  On 8/5/2015 at 11:25 PM, BenJ said:

It compiles fine and everything checks out, it just doesnt work. And nope, still not working.

did you type it right? and class

Posted
  On 8/6/2015 at 12:24 AM, Amuyea said:

did you type it right? and class

Yep.
  On 8/6/2015 at 12:26 AM, Salman1700 said:

Maybe you using wrongdoing hook?use "Make Package" not "make"

When making to deb

Tried that too and it still doesn't work.
Posted
  On 8/5/2015 at 10:13 PM, Salman1700 said:

Tell me error so we can see which line is it Fixed :)

%hook Springboard-(bool)homeScreenRotationStyleWantsUIKitRotation {return TRUE;}-(bool)homeScreenSupportsRotation {return TRUE;}-(long long)homeScreenRotationStyle {return 2;}%end
Now I'm getting some errors:

 

  Reveal hidden contents

 

Posted
  On 8/6/2015 at 2:28 AM, DiDA said:

Is your bundle id correct?

I am trying to add a Springboard tweak to I believe so. I used: com.apple.springboard

Posted

Ehh in an old tutorial here (Objective-C + Logos) you'll find exactly what you want.

 

 

  Quote

 

%hook SpringBoard
- (BOOL)homeScreenRotationStyleWantsUIKitRotation {     return true;
}

- (BOOL)homeScreenSupportsRotation {     
return true;
}%end

%hook SBIconLabelImageParameters {	 
- (id)text {     
%orig;
return;
}%end

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines