Posts

Post not yet marked as solved
0 Replies
276 Views
Hi, I am trying to handle an event ->  when one app invoking SSO extension showing auth UI prompt is killed or force quit, perform certain operation in another app. Tried below steps : UseNSRunningApplication to identify the process id of SSO extension that shows the UI and store it in NSUserDefaults In the second app, check if the runningApp instance with the pid stored in NSUserDefaults isTerminated.  During testing it seems to be working. But would like to confirm Is this a reliable/acceptable approach -> An app extension of the Single Sign On type trying to use NSRunningApplication API to query another extension's activity state in a sandboxed process. Is there another better way of handling this scenario? Thanks in advance
Posted
by veenas.
Last updated
.