AXWebViewController icon indicating copy to clipboard operation
AXWebViewController copied to clipboard

图片放大后,view上移20pt

Open ghost opened this issue 8 years ago • 7 comments

AXWebViewController版本: 0.6.1、0.7.0

Xcode版本: 9.1

iOS版本: 10.3.2

依赖管理工具(cocoapods)版本: 1.3.1

复现步骤: 打开一个AXWebViewController,点击网页中的图片打开一个全屏的图片浏览器或视频播放器,再返回,页面上移20pt,下滑也不再返回

1 2 3 4 5

ghost avatar Nov 06 '17 02:11 ghost

@clasting 我试过了,present一个新的vc,好像没产生你这个问题(模拟器)。你用的是什么库?相关的代码贴一些吧

devedbox avatar Nov 06 '17 06:11 devedbox

TestWebVC.zip

ghost avatar Nov 06 '17 08:11 ghost

我试了下最新提交的代码,问题已解决,感谢!

ghost avatar Nov 10 '17 01:11 ghost

有输入框的网页,点击后,光标不见了

ghost avatar Nov 10 '17 02:11 ghost

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>", "<NSLayoutConstraint:0x1c069aef0 _UIButtonBarButton:0x10fc5a330.trailing >= _UIModernBarButton:0x10fc5a580.trailing + 8>", "<NSLayoutConstraint:0x1c0693240 _UIModernBarButton:0x10fc5e830.leading >= _UIButtonBarButton:0x10fc414e0.leading + 5>", "<NSLayoutConstraint:0x1c069bf80 _UIButtonBarButton:0x10fc414e0.trailing >= _UIModernBarButton:0x10fc5e830.trailing + 5>", "<NSLayoutConstraint:0x1c068ebf0 _UIModernBarButton:0x10fc2c790.leading == _UIButtonBarButton:0x10fc2c540.leading + 8>", "<NSLayoutConstraint:0x1c0698380 _UIButtonBarButton:0x10fc2c540.trailing == _UIModernBarButton:0x10fc2c790.trailing + 12>", "<NSLayoutConstraint:0x1c0693420 UILayoutGuide:0x1c43a4b40.leading == _UIButtonBarButton:0x10fc5a330.leading>", "<NSLayoutConstraint:0x1c0697390 UILayoutGuide:0x1c43a4b40.trailing == _UIButtonBarButton:0x10fc2c540.trailing>", "<NSLayoutConstraint:0x1c0692110 UIView:0x10fc41300.leading == _UIButtonBarButton:0x10fc5a330.trailing>", "<NSLayoutConstraint:0x1c069b260 _UIButtonBarButton:0x10fc414e0.leading == UIView:0x10fc41300.trailing>", "<NSLayoutConstraint:0x1c0692fc0 UIView:0x10fc5eb70.leading == _UIButtonBarButton:0x10fc414e0.trailing>", "<NSLayoutConstraint:0x1c068ca30 _UIButtonBarButton:0x10fc2c540.leading == UIView:0x10fc5eb70.trailing>", "<NSLayoutConstraint:0x1c4498ce0 UILayoutGuide:0x1c43a4b40.left == _UIButtonBarStackView:0x104237b90.left>", "<NSLayoutConstraint:0x1c4497750 _UIButtonBarStackView:0x104237b90.right == UILayoutGuide:0x1c43a4b40.right>" )

ghost avatar Nov 10 '17 02:11 ghost

@clasting 先不要尝试Master分支的代码,问题还在解决中,解决了我会艾特你的!最近项目忙,我会抽时间出来解决哈!

devedbox avatar Nov 10 '17 02:11 devedbox

好的,知道了

ghost avatar Nov 10 '17 05:11 ghost