Deleting the Database and Unregistering the Application

Delete the package database, and unregister the application.

  1. Unregister the application by invoking the Application instance's unregisterApplication method.
    @try {
      [app unregisterApplication:<time out value>]
    }
    @catch (SUPApplicationTimeoutException * pe) {
      NSLog(@"%@: %@", [pe name],[pe message]);
    }
    
  2. To delete the package database, call the generated database's deleteDatabase method.
    [SUP101SUP101DB deleteDatabase];