let data = (try? JSONSerialization.data(withJSONObject: userInfo, options: [])) ?? Data()
let string = String(data: data, encoding: .utf8) ?? ""
viewController?.present(dialog, animated: true, completion: nil)
let data = (try? JSONSerialization.data(withJSONObject: userInfo, options: [])) ?? Data()
let string = String(data: data, encoding: .utf8) ?? ""
viewController?.present(dialog, animated: true, completion: nil)
本文标题:swift 打印Push Notification收到的内容
本文链接:https://www.haomeiwen.com/subject/runiyhtx.html
网友评论