ETmanwenhan

Results 21 comments of ETmanwenhan

原来是线程问题。切换到UI线程进行更新UI就可以了。 TGPhotoPickerManager.shared.authorizeCamera { (status) in if status == .authorized{ DispatchQueue.main.async { self.setupCamera() self.setupUI() } } }

真机,大图还没加载完成。就再次点击,关闭全屏浏览,就会出现大图缩小的时候动画会卡顿、向右抖一下的问题。求大神修复,谢谢!

我这样子实现系统方法: - (void)setViewControllers:(NSArray *)viewControllers animated:(BOOL)animated { NSMutableArray * tempViewControllers = [NSMutableArray array]; [viewControllers enumerateObjectsUsingBlock:^(__kindof UIViewController * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { if ([obj isKindOfClass:[JKInterLayerViewController class]]) {...

/** 设置主要子控件的透明度(按钮、TitleView啥的) */ //- (void)jk_setNavigationBarSubViewsAlpha:(CGFloat)alpha; 主要是这个方法用到了私有API,对吗?我把这个方法去掉,应该可是过苹果审核吧

我想要的是点击缩略图,进行预览可进行删除操作。感觉可以参考一下这个。 https://github.com/targetcloud/TGPhotoPicker 但是不知道为什么这个库首次拍照的时候,等待很久才出现拍照的画面。纳闷中,求大神相助

But after the .removed, the header is refreshed, and the refresh control at the bottom will never appear again. Our requirement is that the bottom controls are temporarily hidden and...

也行需要额外添加锁设备代码: ``` do { try ni.device.lockForConfiguration() ni.device.videoZoomFactor = zoomFactor ni.device.unlockForConfiguration() } catch { zl_debugPrint("调整焦距失败 \(error.localizedDescription)") } ```

也行需要额外添加锁设备代码: ``` do { try ni.device.lockForConfiguration() ni.device.videoZoomFactor = zoomFactor ni.device.unlockForConfiguration() } catch { zl_debugPrint("调整焦距失败 \(error.localizedDescription)") } ```

> > 也行需要额外添加锁设备代码: > > ``` > > do { > > try ni.device.lockForConfiguration() > > ni.device.videoZoomFactor = zoomFactor > > ni.device.unlockForConfiguration() > > } catch { > > zl_debugPrint("调整焦距失败...

> > 也行需要额外添加锁设备代码: > > ``` > > do { > > try ni.device.lockForConfiguration() > > ni.device.videoZoomFactor = zoomFactor > > ni.device.unlockForConfiguration() > > } catch { > > zl_debugPrint("调整焦距失败...