'Siri kit extension Intents INSearchForAccountsIntent overlap UI issue

I am using INSearchForAccountsIntent Intent for my app to display some records for Siri and handled the Intent, But some how it is overlapping the records one after another attached screenshots for the same -

enter image description here

code for this -

import Intents
import LocalAuthentication

class IntentHandler: INExtension {
    
    override func handler(for intent: INIntent) -> Any {
        //checks to see if devices passcode has been set
        guard LAContext().canEvaluatePolicy(.deviceOwnerAuthentication, error: nil) else {
            fatalError("Device is not passcode protected.")
        }
        
        _ = SiriNetworkingManager()
        SiriAnalyticsUtilities.initAnalytics()
        
        switch intent {
        case is INSearchForAccountsIntent:
            return SearchForAccountsIntentHandler()
        default:
            fatalError("Unhandled intent: \(intent)\n" +
                "Any intent that is passed through `handler(for:)` is " +
                "definied in the Info.plist and must have a matching Intent Handler.")
        }
    }
}

any help would be appreciated. Thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source