JSPatch
JSPatch copied to clipboard
Swift3 使用枚举UIViewContentMode.bottom时crash
Swift3 使用枚举UIViewContentMode.bottom传入int时crash unrecognized selector funName: for instance xxxx
?枚举本来就不支持,见文档
你好,文档已经看过,在swift项目中,如果用到了 swift 的枚举有没有办法解决? swift runtime有没有提交方法通过枚举名动态生成一个枚举对象返回给JS UIViewContentMode.init(rawValue: 0) 能不能把这里的UIViewContentMode动态一下 ^_^