最近は
scrollView.refreshControl = refreshControl
みたいなコードだけで簡単に引っ張って更新みたいなことができるようになって意気揚々と導入したんだけど、iPhoneX以上でなぜかスクロールできないバグが発生した。
原因はどうやらendRefreshing()が原因のようで、くるくるしてないときにendRefreshing()をやると慣性スクロールがなくなる模様。
なので、以下のようにした。
if refreshControl.isRefreshing { refreshControl.endRefreshing() }
ちゃんと、くるくるしてるか確認するようにしないとだめということですね。
気をつけよう。
こんにちは。virapture…
View Comments
I am an investor of gate io, I have consulted a lot of information, I hope to upgrade my investment strategy with a new model. Your article creation ideas have given me a lot of inspiration, but I still have some doubts. I wonder if you can help me? Thanks.
I am currently writing a paper and a bug appeared in the paper. I found what I wanted from your article. Thank you very much. Your article gave me a lot of inspiration. But hope you can explain your point in more detail because I have some questions, thank you. 20bet
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Your article helped me a lot, is there any more related content? Thanks!
Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://accounts.binance.com/hu/register?ref=FIHEGIZ8