Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8475333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:51:52+00:00 2026-06-10T17:51:52+00:00

I would like to use the Springboard services framework to make use of the

  • 0

I would like to use the Springboard services framework to make use of the following code.

SBSLaunchApplicationWithIdentifier(CFSTR("com.apple.preferences"), false);

However when I download the header files and use it in my project it won’t build. Please let me know how to make this work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T17:51:54+00:00Added an answer on June 10, 2026 at 5:51 pm

    What exactly are you planning on using that method for? I was under the impression it was for launching an application from a daemon?

    There are other ways to launch an application quite easily. The most reliable I have found is to use the display stacks to launch the application properly. Other methods of launching the app tend to cause issues when you close it and attempt to relaunch and it crashes.

    Using theos, you could do something like this:

    NSMutableArray *displayStacks = nil;
    
    // Display stack names
    #define SBWPreActivateDisplayStack        [displayStacks objectAtIndex:0]
    #define SBWActiveDisplayStack             [displayStacks objectAtIndex:1]
    #define SBWSuspendingDisplayStack         [displayStacks objectAtIndex:2]
    #define SBWSuspendedEventOnlyDisplayStack [displayStacks objectAtIndex:3]
    
    // Hook SBDisplayStack to get access to the stacks
    
    %hook SBDisplayStack
    
    -(id)init
    {
        %log;
        if ((self = %orig)) 
        {
            NSLog(@"FBAuth: addDisplayStack");
            [displayStacks addObject:self];
        }
        return self;
    }
    
    -(void)dealloc
    {
        [displayStacks removeObject:self];
        %orig;
    }
    
    %end
    

    And then to launch the app, do this:

    id PreferencesApp = [[objc_getClass("SBApplicationController") sharedInstance] applicationWithDisplayIdentifier:@"com.apple.preferences"];
    
    [SBWActiveDisplayStack pushDisplay:PreferencesApp];
    

    However, if you really want to use that method, you need to specify what errors are stopping it from building and check which header files you are using to build it with. You also need to link against the SBS framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to use the following class across multiple modules without needing log
I would like test code in the lib directory of Rails. I use RubyTest
I would like to use DocumentFragment and querySelector to make and modify DocumentFragments. I
I would like use unmanaged code from C in C#. I built a DLL
Designing my RESTful API, I would like use following URI http://[HOST]/[PLANET]/[LAT];[LONG] e.g. http://myserver/earth/50.2;29.1 What
I have an array of Integers in Java, I would like use only a
I would like to use R to extract the speaker out of scripts formatted
I would like to use Maven's password encryption such as it uses for nodes
I would like to use the logout function from Django but not sure how
I would like to use D3.js (or maybe Raphaël ) for backend-generated reports using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.