0

I am facing 2 issues with MFMessageComposeViewController in iOS 6.0

  • In iOS 6.0 when we are dismissing the keyboard with cursor in the message body text view, the message body text-view disappears. But when we do the same operation with To text field, its working fine. Its working fine in iOS 5.0. The issue seems to be only in iOS 6.0.

  • When dismissing the keyboard, a transparent gap appears at the top of message body text view (see the attached images below).

enter image description here

enter image description here

Arun
  • 116,683
  • 26
  • 284
  • 387
Preetha
  • 151
  • 1
  • 2
  • can you post the code you are using? – Murali Jan 25 '13 at 09:44
  • if ([messageClass canSendText]) { MFMessageComposeViewController *messageComposer = [[MFMessageComposeViewController alloc] init]; if(![[notification.object valueForKey:@"phoneNumber"] isEqualToString:@""]) { NSArray *recepient = [NSArray arrayWithObjects:[notification.object valueForKey:@"phoneNumber"], nil]; messageComposer.recipients = recepient; } messageComposer.body = @"Greetings frm Ram, happy Bday"; messageComposer.messageComposeDelegate = self; [self presentModalViewController:messageComposer animated:YES]; [messageComposer release]; } – Preetha Jan 25 '13 at 12:19
  • Did you faced this issue? – Preetha Jan 25 '13 at 12:21
  • Please add this and check..messageComposer.wantsFullScreenLayout=YES; – Murali Jan 25 '13 at 12:27
  • Tried. But No change.. Still same problem. – Preetha Jan 28 '13 at 05:10

0 Answers0