How to get the entered message in textbox of Messages app using MSConversation or MSMessage

Hi All,


I have created a Messages extension which is available in iOS 10. I need to access the input in my extension for some string processing. But I am unable to read the message entered in the textbox (before tapping on "Send" button) using the classes like MSConversation or MSMessage.


Do anyone know how to read the text entered in textbox (before tapping on "Send" button) ?

Appreciate your suggestions.


Regards,

Deepak Srinivas

Answered by Documentation Engineer in 149162022

You do not have access to the text input by the user. Please file an enhancement request for this if you want it to be considered for the future.


What type of text processing are you trying to do?

We try looking into it but I think Apple prevent getting access to it - what we did instead was create a textbox in expanded mode to get access to the keyboard there, and that worked for us. Hope that helps u, Henry

Accepted Answer

You do not have access to the text input by the user. Please file an enhancement request for this if you want it to be considered for the future.


What type of text processing are you trying to do?

Hi Henry,


Thanks for the response. I did it in the same way as a work around. I will also be filing a enhancement request for this.


Regards,

Deepak Srinivas

Hi,

Thanks for your response.

I am trying to do a word translation in different languages as how it works out in Emoticons. For sure I will be filing a enhancement request for this.


Regards,

Deepak Srinivas

How to read text from custom keyboard from third party apps like Skype, whats up and so on?


Step1: I have to create custom keyboard in swift ios



 Step2: Enable and add custom keyboard in ios device.


 Step3: User will open skype and chat using custom keyboard .



 Step 4: I need to read text or detect text or get text , user typed text from third party apps like skype , whats up, message and so on.


 
 Eg: User open skype and chat using custom keyboard like "Hello" . I wants to read text or get text or detect text as Hello using ios swift.


Whether it is posibble in ios ?!

How to get the entered message in textbox of Messages app using MSConversation or MSMessage
 
 
Q