Add / remove options if I have a login page
Opened this issue · 1 comments
ezar commented
Hi,
Thanks for this component. Can we add or remove options outside UI Controller?
Can you send a sample?
Regards,
ricardopereira commented
@ezar Thanks for opening an issue. By options do you mean shortcuts? You need to have access to the QuickActions
instance and do something like:
let shortcuts = [Shortcut(type: AppShortcut.lastItems, title: "Last items", subtitle: nil, icon: nil)]
quickActions?.add(shortcuts, toApplication: application)