|
/

iOS swift集成UMAPM后, 调用分享或者从相册获取图片等接口会闪退

Ss*
发布于 1 个月前
3724来自广东省
应用性能监控 U-APM
SDK集成与升级

会报以下错误, 去掉UMAPM库后就正常

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SwiftUI.AppDelegate window]: unrecognized selector sent to instance 0x302aef780'

分享图文代码:

let vc = UIActivityViewController(activityItems: items, applicationActivities: [])

vc.excludedActivityTypes = [

]

present(vc,

animated: true,

completion: nil)

vc.popoverPresentationController?.sourceView = self.view

3个回答
 
1 个月前
来自浙江省

您好, apm不支持swift

 
1 个月前
来自江苏省

我这边也遇到了一样的问题!

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GUL_EldamarApp.AppDelegate-40FD1B02-07FA-4954-831D-731EFE903862 window]: unrecognized selector sent to instance 0x3036aff20'

*** First throw call stack:

Loading ...
登录社区,分享你的经验