-
Notifications
You must be signed in to change notification settings - Fork 1
Force Touch Menu
levching edited this page Apr 15, 2020
·
4 revisions
With iOS 3d touch you can add addition app launch options that will look similar to the ones on the screenshot below:

If you want to add and handle similar menu items for your app, you need to complete 2 simple steps:
- Add menu items to your app using IOS Native settings:
- Handle the menu items actions:
You can check if the application has been launched with shortcut item by checking GetAppOpenShortcutItem value. (if a value is empty, an application has been launched normally)
namespace SA.iOS.UIKit
...
var iteam = ISN_UIApplication.ApplicationDelegate.GetAppOpenShortcutItem();
if(iteam != null) {
Debug.Log(iteam.Type);
}Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference
- Getting Started
- Authentication
- Game Center UI
- Leaderboards
- Default Leaderboard
- Achievements
- Saving A Game
- Access Point
- iTunes Connect Setup
- StoreKit Initialization
- Purchase flow
- Receipt Validation
- Store Review Controller
- Storefront API
- Subscription Offers