3D touch home quick action(dynamic quick action) Demo.
- API availablity check
- Handle quick action in application:didFinishLaunchingWithOptions method
- Different rootViewcontroller depends on quick action
Static quick action has some limitations. It works immediately when the app installed. If your app has tutorial/intro pages or initial data download logic when the app launch at first time, users won't see those views with static quick action.
With dynamic quick action, you can avoid these situations. The quick action menu will be enabled after first app launch.
- click edit scheme and check "wait for excutable to be lanched" option :
- set breakpoint where you want to test :
- input log message or debugger command and check "Automatically continue after evaluating actions" in edit breakpoint :