Soft Respring

Discussion in 'iOS Development' started by ipodmail09, Aug 27, 2009.

  1. ipodmail09

    ipodmail09 Member

    Joined:
    Mar 13, 2009
    Messages:
    269
    Likes Received:
    0
    Device:
    2G iPod touch
    As the title States how do you implement the soft respring into your application.

    i have looked for this but i found out that it does not work on 3.0 like the one on this site.
  2. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Code:
    #include <notify.h>
    
    ... 
    
    void soft_resp() {
            notify_post("com.apple.language.changed");
    }
    Should do it, I believe. (It may be a slightly different notification string, I cannot remember.")
  3. cocotutch

    cocotutch Community Development Team Staff Member

    Joined:
    Oct 6, 2008
    Messages:
    1,285
    Likes Received:
    117
    Device:
    5G iPod touch
    According to SkylarEC (on a post made a LONNNNNNG time ago) you need to rebuild the App Cache or this could SWOD your device.
  4. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Dude, rebuilding the SpringBoard app cache is so that SpringBoard can be updated to show the new applications. I think you're maybe getting confused with "com.apple.mobile.application_installed", which updates the applications without a respring(Cydia does this).

Share This Page