ios 闪退
supermebing opened this issue · comments
supermebing commented
描述
异常/需求具体描述 ios 闪退
设备版本
本地flutter版本、设备型号版本
插件版本
插件版本号 1.1.6
日志
详细的log日志或者截图录屏
Swift/arm64-apple-ios.swiftinterface:33571: Fatal error: Float value cannot be converted to Int because it is either infinite or NaN
2023-05-22 16:06:09.965258+0800 Runner[663:17917] Swift/arm64-apple-ios.swiftinterface:33571: Fatal error: Float value cannot be converted to Int because it is either infinite or NaN
我更换代码 self.webView = WKWebView(frame:CGRect(x:0, y:0, width:UIScreen.main.bounds.width, height:UIScreen.main.bounds.height)) 这样还可以运行并正常显示的 我对 swift 并不熟悉 不知道这样是否可以
supermebing commented
已解决 是我传值错误