我正在尝试使用uiscrollviewdelegate:
class ViewController: UIViewController <uiscrollviewdelegate> {}
解决方法
你的语法不正确.你不要在Swift中使用括号,
class ViewController: UIViewController,uiscrollviewdelegate {}