Open ghost opened 6 years ago
@clasting 我试过了,present一个新的vc,好像没产生你这个问题(模拟器)。你用的是什么库?相关的代码贴一些吧
我试了下最新提交的代码,问题已解决,感谢!
有输入框的网页,点击后,光标不见了
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x1c4496800 UIToolbar:0x110709990.width == _UIInputViewContent:0x104498880.width>",
"<NSAutoresizingMaskLayoutConstraint:0x1c448c580 _UIInputViewContent:0x104498880.width == 0>",
"<NSLayoutConstraint:0x1c4495cc0 _UIButtonBarStackView:0x104237b90.leading == _UIToolbarContentView:0x1107218a0.leading + 8>",
"<NSLayoutConstraint:0x1c448d840 _UIButtonBarStackView:0x104237b90.trailing == _UIToolbarContentView:0x1107218a0.trailing>",
"<NSLayoutConstraint:0x1c4495270 _UIToolbarContentView:0x1107218a0.trailing == UIToolbar:0x110709990.trailing>",
"<NSLayoutConstraint:0x1c4494780 _UIToolbarContentView:0x1107218a0.leading == UIToolbar:0x110709990.leading>",
"<NSLayoutConstraint:0x1c0698060 _UIModernBarButton:0x10fc5a580.leading == _UIButtonBarButton:0x10fc5a330.leading + 12>",
"
@clasting 先不要尝试Master分支的代码,问题还在解决中,解决了我会艾特你的!最近项目忙,我会抽时间出来解决哈!
好的,知道了
AXWebViewController版本: 0.6.1、0.7.0
Xcode版本: 9.1
iOS版本: 10.3.2
依赖管理工具(cocoapods)版本: 1.3.1
复现步骤: 打开一个AXWebViewController,点击网页中的图片打开一个全屏的图片浏览器或视频播放器,再返回,页面上移20pt,下滑也不再返回