Ios 启用UINavigationBar.PrefersTargetItles时UIRefreshControl行为错误
[iOS 12]当我在导航栏中使用大标题“拉入刷新”时,Ios 启用UINavigationBar.PrefersTargetItles时UIRefreshControl行为错误,ios,uinavigationcontroller,uikit,uirefreshcontrol,Ios,Uinavigationcontroller,Uikit,Uirefreshcontrol,[iOS 12]当我在导航栏中使用大标题“拉入刷新”时,UIRefreshControl的指示灯无法按预期工作 如何获得正确的UIRefreshControl指示器行为和使用大标题?我错过什么了吗 (相关) 使用self.navigationController.navigationBar.prefersLargeTitles=true: 使用self.navigationController.navigationBar.prefersLargeTitles=false: 而不是table
UIRefreshControl
的指示灯无法按预期工作
如何获得正确的UIRefreshControl
指示器行为和使用大标题?我错过什么了吗
(相关)
使用self.navigationController.navigationBar.prefersLargeTitles=true:
使用self.navigationController.navigationBar.prefersLargeTitles=false:
而不是
tableView.tableHeaderView=refreshControl
或tableView.addSubView(refreshControl)
你应该使用tableView.refreshControl=refreshControl
没错。我正在做tableView.addSubView(刷新控件)