switfui onContinueUserActivity

Hi, I am trying to implement universal link in my app. The business need requires to record the referrer URL. So, i use onContinueUserActivity because it allows the app to capture a userActivity dictionary sent by iOS. However, it is never called when i click on a link to launch into the app. The app is launched but the handler is never called.

My question is: Does swiftUI onContinueUserActivity supports web link click , activity type NSUserActivityTypeBrowsingWeb ? if so, can i see an example.

Thanks!

switfui onContinueUserActivity
 
 
Q