Giter Site home page Giter Site logo

libflex's Introduction

libFLEX

Put the libFLEX.dylib to your jailbroken iOS Device's /Library/MobileSubstrate/DynamicLibraries folder, then you can use Flipboard/FLEX in any app.

TL;DR

Flipboard just open source FLEX (Flipboard Explorer), a set of in-app debugging and exploration tools for iOS development.

View Hierarchy Exploration

And it tell us we can use it learn from other app by code injection.

Springboard Lock Screen Springboard Home Screen

But the document just said : The code injection is left as an exercise for the reader.

cry

I never do some job about Jailbreak development, how can I do it?

And I Read a blog introducing the way do it http://itony.me/774.html

happy

So, Just Create a iOS Dynamic Project (I highly recommend use iOSOpenDev ), clone the FLEX library code and link it to your project( I highly recommend use cocoapods ), and copy the code below and paste to your project:

#import "libFlex.h"
#import <UIKit/UIKit.h>
#import "FLEXManager.h"
 
@implementation libFlex
 
- (id)init
{
    self = [super init];
    if (self) {
        [[NSNotificationCenter defaultCenter] addObserver:self
                                                 selector:@selector(appLaunched:)
                                                     name:UIApplicationDidBecomeActiveNotification
                                                   object:nil];
    }
    return self;
}
 
- (void)appLaunched:(NSNotification *)notification
{
    NSLog(@"======================= libFlex dylib show ========================");
    
    [[FLEXManager sharedManager] showExplorer];
}
 
@end
 
static void __attribute__((constructor)) initialize(void)
{
    NSLog(@"======================= libFlex dylib initialize ========================");
    
    static libFlex *entrance;
    entrance = [[libFlex alloc] init];
}

Complie it and drop the libFLEX.dylib file to your jailbroken iOS Device's /Library/MobileSubstrate/DynamicLibraries folder. Pretty easy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.