Ali
Ali

Reputation: 645

Add the MFMessageComposerViewController to the main view

is it possible to show the MFMessageComposerViewController in specified area in the main view. In other words, when i click to send a message i want to display my messageViewController inside my viewController (in order to keep the user watching the iAD banner for exemple).

Thanks guys

Upvotes: 1

Views: 70

Answers (1)

logancautrell
logancautrell

Reputation: 8772

No it is not. The MFMessageComposerViewController must be shown modally.

"After configuring initial values, present the view controller modally using the presentModalViewController:animated: method. When done, dismiss it using the dismissModalViewControllerAnimated: method."

http://developer.apple.com/library/ios/#DOCUMENTATION/MessageUI/Reference/MFMessageComposeViewController_class/Reference/Reference.html

Upvotes: 1

Related Questions