Questions tagged [logos]

Logos is a component of the Theos development suite that allows method hooking code to be written easily and clearly, using a set of special preprocessor directives.

Logos is a component of the Theos development suite that allows method hooking code to be written easily and clearly, using a set of special preprocessor directives.

The syntax provided by Logos greatly simplifies the development of MobileSubstrate extensions ("tweaks") which can hook other methods throughout the OS. In this context, "method hooking" refers to a technique used to replace or modify methods of classes found in other applications on the phone.

63 questions
9
votes
1 answer

How do I add a subview to UIStatusBar in Theos?

I know it sounds like this question has a simple answer, but hear me out. Although UIStatusBar is a subclass of UIView, you can't use the addSubview method to add a subview to it because it doesn't use it. The same goes for UIStatusBarWindow.…
Artillect
  • 239
  • 1
  • 13
4
votes
1 answer

Logo Lookup API?

I'm working on an iOS application where I'd like to be able to display stores with their respective logos. I've spent a while looking for an API that does this and I can't find anything besides XigniteLogos. Unfortunately this is outside of my…
4
votes
1 answer

Financial Company Logos API

Is there a way to dynamically pull company logos for banks and brokerages into a webpage without individually downloading each logo or building a list of URL's to link to them directly? I'm looking for any site that has an API to get company logos…
dvanderb
  • 757
  • 2
  • 8
  • 20
4
votes
1 answer

Making a Theos hook into a particular category of a class

Normally when you are making a tweak and you want to hook into a application you do something like this: %hook foo //code %end But now I have a @interface that has a weird name: @interface NSString (foo), and I have no idea how to hook into…
that guy
  • 404
  • 1
  • 7
  • 15
4
votes
1 answer

Creating Cydia Logos Tweak, now required respring after installation (How to do)

I am creating a Logos Tweak for Cydia and i did complete my task, but now i required "Restart SpringBoard" after Installation. Can anybody tell me what i have to do to achieve this like many apps in Cydia store, In which after installation button…
M.Shuaib Imran
  • 1,287
  • 16
  • 29
4
votes
2 answers

Get Application Icon Image From Springboard (Jailbreak)

I'm developing a lockscreen application using theos and part of the functionality requires icon images of certain applications on the phone. How can I go about getting those icon images and displaying them on the lockscreen of the phone? I've tried…
jacob
  • 3,507
  • 2
  • 21
  • 26
3
votes
1 answer

Theos: How to hook a method with a block argument? (CDUnknownBlockType)

%hook HTTPClient - (CDUnknownBlockType)completionForSuccess:(CDUnknownBlockType)arg1 { } %end I am wondering what to place in place of CDUnknownBlockType here (generated from class-dump). I do not know the arguments to the block so I cannot put the…
Tatsh
  • 2,780
  • 1
  • 20
  • 23
2
votes
3 answers

UIAlertView not responding to UIAlertViewDelegate

I'm using logos for iPhone (MobileSubstrate addons), with a .h file for my @interface MyClass : NSObject and the - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { if(buttonIndex == 0) {…
Mitochondria
  • 43
  • 1
  • 5
2
votes
2 answers

WordPress Custom Logo with Default/Fallback Image

I'm trying to use WordPress' new custom logo feature to accomplish the following: Display a default/fallback logo. If WordPress version supports custom logo, allow user to replace the default/fallback logo with a custom logo in the Customizer. If…
Troy Templeman
  • 275
  • 1
  • 14
2
votes
0 answers

Why does IDA show a method that a class-dump can't? And why can't I hook it?

When doing a class-dump on Instagram (v7.7), I am confused on why in this class, the method declaration for "sponsoredContext" is missing. In comparison, IDA shows the "-(char)sponsoredContext" method. Class Dump result: @interface…
2
votes
0 answers

Does any know how to bypass entitlements in iOS 8?

As you aware that the famous _XPConnectionHasEntitlement has no longer works in iOS 8, is there anyother way to bypass the entitlements with the tweaks that requires entitlements? I come to know that _BSAuditTokenTaskHasEntitlement might solve the…
prathumca
  • 410
  • 8
  • 25
2
votes
1 answer

linking springboard in iOS tweak

I'm trying to develop a simple ios tweak that uses some springboard components. I've dumped the headers and included the one I need (SBLockScreenNotificationScrollView.h), but when I compile I get a linker error: Undefined symbols for architecture…
Connor Pearson
  • 63,902
  • 28
  • 145
  • 142
2
votes
1 answer

Show UIAlertView or UIViewController in a Logos Tweak

I am building a tweak for SMS sending on the default MobileSMS app coming with iOS 6.1. Even though I have managed to hook to the "Send" button, I cannot create a popup to inform the user, neither with UIAlertView nor with a UIViewController. I…
Panagiotis
  • 309
  • 2
  • 13
2
votes
2 answers

Calling a function from another class with Logos (%hook)

Note: This code is not an exact replica of the original code, but illustrates (with good accuracy) what the issue is, and what my intentions with the code are. I have added a button to DaClass1's view (this works fine): %hook DaClass1 -(id)DaView…
Aleksander Azizi
  • 9,829
  • 9
  • 59
  • 87
1
vote
3 answers

How to insert payments logo opencart footer

How can I insert payments logos in the footer for opencart 3.X?
1
2 3 4 5