The iOS app implements a scroll view by referring to the here article.
iOS 7 works fine, but iOS 8 iPhone 6 has a wider scrolling area than its parent view.
If you know the solution, please let me know.
The blue part of the image is the contents of the scroll view, and the red part is the scroll view.
The left is ideal, and the right is current.
It can be achieved by placing a constraint that "UIScrollView equals the width of its contents"
http://qiita.com/hirobe/items/2baf629b7807b4c0d10f
I think the red frame corresponds to the frame of UIScrollView and the blue frame corresponds to the contentSize of UIScrollView.
The current information alone cannot determine why the move is unintended, but NSLog what values are in frame and contentSize and what values are in the frame and contentSize to find out if there is anything you can think of.
567 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
884 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
606 Uncaught (inpromise) Error on Electron: An object could not be cloned
597 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.