how do i calculate the frame of a view relative to its scroll view

  Kiến thức lập trình

IOS 17 has this feature that simplifies the process of getting the frame of a view relative to a scroll view, which is useful for various tasks such as custom layout,

let rect = $0.frame(in: .scrollView(axis: .vertical))

how does one replicate this same feature in IOS 16 since the API is not available in 16 & older

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT