Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MessageUI in iOS 6.0 issue

Beginner's question in Xcode and obj-c.

In my project I have a button with IBAction to send sms-messages without living my app (MessageUI linked to the project). At iOS 5 code worked well, but when I opened same project in latest Xcode to recompile it for iOS 6 I received warning: http://uaimage.com/image/10e31752 Is it something changed for using MessageUI in iOS 6?

Thanks for your attention!

like image 321
Alex Avatar asked May 30 '26 09:05

Alex


1 Answers

Looking at this image:

http://uaimage.com/image/e71f051f

You have to use MFMessageComposeViewControllerDelegate and not MFMailComposeViewControllerDelegate

like image 175
LombaX Avatar answered Jun 01 '26 01:06

LombaX



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!