How to pass and get multiple URLQueryItems in Swift?
问题 Ok, I am working in an iMessage app and am trying to parse more than 1 url query item from the selected message here- I have been successful getting/sending just 1 value in a query: override func willBecomeActive(with conversation: MSConversation) { // Called when the extension is about to move from the inactive to active state. // This will happen when the extension is about to present UI. if(conversation.selectedMessage?.url != nil) //trying to catch error { let components = URLComponents