1.UIRefreshControl 的使用步驟: (1)創(chuàng)建 UIRefreshControl,并設(shè)置文字,顏色等信息。(2)將 UIRefreshControl 添加到tableview視圖中。(3)給 UIRefreshControl 添加方法,當值改變的時候調(diào)用,用于數(shù)據(jù)請求刷新。(4)請求數(shù)據(jù)確認完成之后,調(diào)用endRefreshing方法,關(guān)閉刷新。 2.
www.dbjr.com.cn/article/746...htm 2025-6-4