I'm adding dynamic 3D touch quick actions to my iOS app.
I was able to setup the code that displays each action, but I am having trouble finding what code would go within the code below. When the action is chosen, I need the action to open up one of 4 different view controllers within my app.
if ([shortcutItem.type isEqualToString:@"addOpportunity"]) {
} else if ([shortcutItem.type isEqualToString:@"bookMark"]) {
} else if ([shortcutItem.type isEqualToString:@"searchGuest"]) {
} else if ([shortcutItem.type isEqualToString:@"myGuest"]) {
}
else {
}
}