#UIScrollView 이동 썸네일형 리스트형 [iOS] UIScrollView 이동 import Foundation extension UIScrollView { // Scroll to a specific view so that it's top is at the top our scrollview func scrollToView(view:UIView) { if let origin = view.superview { // Get the Y position of your child view let childStartPoint = origin.convert(view.frame.origin, to: self) let bottomOffset = scrollBottomOffset() if (childStartPoint.y > bottomOffset.y) { setContentOffset(bottomOf.. 더보기 이전 1 다음