标签: ios swift
将代码2.3转换为3.0现在这行代码创建崩溃检查我的代码并告诉我哪里错了
let activeRefreshControl = UIRefreshControl() activeRefreshControl.addTarget(self, action: Selector("refresh:"), for: .valueChanged) func refresh(control:UIRefreshControl) { self.ExchangeData() }