No, actually MFMailComposeViewController is a UIViewController
subclass and you can only add it inside an UIViewController
not an UIView
.
Adding an UIViewController inside an UIView couldn't respect the MVC design pattern. The purpose of a view
is only to show data sent by the controller
and call controller's actions when the user is making an action on the view