Post

Replies

Boosts

Views

Activity

Reply to CoreML Demo App crashing, sources not up to date
Change the alert type on ipad to avoid this or provide a source view as suggested by the exception description. var alertStyle: UIAlertController.Style = .actionSheet     if PhoneModelService.isIpad() {      alertStyle = .alert     }     let alertController = UIAlertController(title: nil,                         message: nil,                         preferredStyle: alertStyle)
Dec ’20