NFI - IOS - text message - multiple recipient

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi

I am trying to get the IOS MFMessageComposeViewController loaded to my application. I am using the below code to get that done. But what I am getting is a white screen . Not able to view the text message UI. Not sure if I have done this properly , can anyone of you have a look and share your comments.

var MessageClass = objc.newClass("MessageClass", "MFMessageComposeViewController", ["MFMessageComposeViewControllerDelegate"],{messageComposeViewControllerDidFinishWithResult:function(controller, result){

alert("Message Send Status ->" + result);

}

});

var MessageVC = MessageClass.alloc().jsinit();

UIApplication.sharedApplication().keyWindow.rootViewController.presentViewControllerAnimatedCompletion(MessageVC, true, null);

Regards

I am able to view and send message using below code . But the problem is I need to use the <MFMessageComposeViewControllerDelegate>.

var composeVC = objc.import("MFMessageComposeViewController");

var messageView = composeVC.alloc().jsinit();

UIApplication.sharedApplication().keyWindow.rootViewController.presentViewControllerAnimatedCompletion(messageView, true, null);

@Rexeccv Tewwy​ can you please look into this.

Hi

Did you happened have a look at the above code ?.

Regards