Xcode 报错 Type InterfaceController does not conform to HKWorkoutSessionDelegate.
在Swift中,必须实现代理的所有required方法,否则就会报上述错误.拿tableView举个栗子(因为HKWorkoutSessionDelegate就两个方法还都是required的),下面所有required的方法都必须实现,否则就会报上述错误:
Xcode 报错: Type '**Controller' does not conform to '**Delegate
最新推荐文章于 2020-12-05 06:14:46 发布