Swift 4.2 issue of get reference from AppDelete

前端 未结 0 547
甜味超标
甜味超标 2020-12-23 01:03

My code is:

import UIKit

let appDelegate = UIApplication.shared.delegate as! AppDelegate

But I get compilation error:

Cannot          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题