MFMailComposeViewControllerDelegate not being called

前端 未结 4 1470
北恋
北恋 2021-01-20 02:08

I realize this question has been inexactly asked around, but I haven\'t been able to find an answer to my problem.

I have a UITableViewController with static cells.

4条回答
  •  星月不相逢
    2021-01-20 02:51

    Make sure you use

    controller.mailComposeDelegate = self
    

    Not this one

    controller.delegate = self
    

提交回复
热议问题