LoginSignup
0
1

More than 5 years have passed since last update.

UICollectionViewに設定したUIRefreshControlが常に動くようにする

Posted at

実行環境

  • Xcode 8.3.1
  • Swift 3.1
  • Deployment Target 9.0

問題と対応

  • UIColelctionViewのコンテンツ(CellやSectionView)が画面全体を覆っていない場合にUIRefreshControlが動いていなかった
  • 下記コードを追加して対応
collectionView.alwaysBounceVertical = true

参考にしたページ

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1