Results 2 issues of ruanjh

bang哥 你好 我使用jspatch 更新app里面的一个方法 这个方法就是创建UIwebView的代码 类似这样的_webView = [[UIWebView alloc] initWithFrame:webRect]; 还更新了一个 js和OC桥接的代码 使用git上的 WebViewJavascriptBridge 框架 替换了这2个方法实现 但是运行起来 时不时的crash Application received signal SIGSEGV (null) 解析出来 就是jspatch里面的一个地方报错 我也查了下 网上说 jspatch和 UiwebView 一起使用会有crash...

- (void)setPhotoItemArray:(NSArray *)photoItemArray 这个方法中 如果设置 btn.imageView.contentMode = UIViewContentModeScaleAspectFill; 按钮显示的图片模式是等比例的伸缩 这样 点击浏览的图片 消失的时候 CGRect targetTemp = [self.sourceImagesContainerView convertRect:sourceView.frame toView:self]; 效果是 图片位置有晃一下的效果 原因是 targetTemp的尺寸和 默认的尺寸不一致 就会有个位置错乱的动画