I'm using the following code to send in-app sms.
NSString *message = @"this ia the message";
MFMessageComposeViewController *TextSheet = ([MFMessageComposeViewController alloc]);
TextSheet.messageComposeDelegate = self;
[TextSheet setBody:message];
TextSheet.recipients = [NSArray arrayWithObjects:@"0549999999", @"0548888888", nil];
[self presentViewController:TextSheet animated:YES completion:Nil];
I try it on a real device iPhone 5C with IOS 7 and its shows a black screen only. What am I doing wrong?