iOS 7 runtime headers method invoke

209 views Asked by At

How to invoke this method and what parameters would be passed?

This method is available in iOS 7 run time headers.

- (BOOL)uninstallApplication:(id)arg1 withOptions:(id)arg2
1

There are 1 answers

7
Thibaud David On

Have you tried calling this method from [self device] ?

if ([[self device] applicationIsInstalled:[self uniqueAppIdentifier] type: nil error: &error]) 
    BOOL uninstalled = [[self device ] uninstallApplication:[self uniqueAppIdentifier] withOptions: nil error: &error];