AdaptiveCards dropdown not working on iOS

Viewed 49

For some reason, Microsoft AdaptiveCards dropdown is not working on iOS. What I'm I missing?

Here's the Json: Json

Here's the code I'm using to render the card:

let url = Bundle.main.url(forResource: "adaptiveCard", withExtension: "json")!
let data = try! Data(contentsOf: url)
let jsonStr = String(data: data, encoding: String.Encoding.utf8)
    
let cardParseResult = ACOAdaptiveCard.fromJson(jsonStr);
let config = ACOHostConfig()
if((cardParseResult?.isValid)!) {
    let renderResult = ACRRenderer.render(cardParseResult!.card, config: config, widthConstraint: Float(bounds.width))
    if(renderResult?.succeeded ?? false) {
        if let view = renderResult?.view {
            context.coordinator.setDelegate(view: view)
            return view
        }
    }
}

Here's a screenshot of the screen: Screenshot

0 Answers
Related