[英]Property determining if content is scrollable (not if it's enabled)
我正在實現一個動畫,該動畫顯示視圖是可滾動的,類似於flashScrollIndicators
對於UIScrollView
。 請注意,只有在可以滾動視圖的情況下, flashScrollIndicators
才會執行,也就是說,還有更多內容要顯示,這些內容不適合當前視圖-如何獲得此屬性? 像flashScrollIndicators
一樣,我只希望內容可滾動時播放動畫。
一種渦旋視圖是垂直滾動時,其contentSize.height > bounds.height
和水平滾動時,其contentSize.width > bounds.width
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.