This screen display an authentification code even on the lock screen.
I've googled it and found absolutely nothing about it. I even don't know the name of the component.
Is it possible to be a special push notification ?
I need to know which class provide this view that is displayed on the lockscreen.
Found the answer !
This is a "Class 0 sms", that is displayed as full screen by the OS.
Class 0 SMS: This message is displayed on the mobile phone immediately
and a message delivery report is sent back to the SC. The message does
not have to be saved in the mobile phone or on the SIM card (unless
selected to do so by the mobile user). This type is also referred to
as Flash SMS.
See for details :
http://www.ozekisms.com/index.php?owpn=544
Related
I am using twilio to send SMS messages to phone numbers. What I am having problems with is making sure that once a user gets the message the preview of what is at a certain link actually loads in the message the user sees on the phone.
What is the proper way to send a link that automatically shows the preview?
EDIT:
I tried the open graph api. Apple does have a tech note on that. But, then, why does this link provided a proper preview in messages when I send this link to another phone? It works, and it does not use open graph.
https://i1.wp.com/www.asphaltandrubber.com/wp-content/uploads/2017/11/2018-Ducati-Panigale-V4-29.jpg?ssl=1
a couple of things you can try
have the link at start of the message or end of the message
the link should be properly formatted with either http:// or https://
iOS uses The Open Graph protocol to support what image to show in the link . http://ogp.me/
I am writing a program using Xcode 8.3.3 with Swift 3.1 for iOS 10. This program is a messenger, so it can send and receive messages from other users. This application has several screens (contacts, stats, chats, etc.) and one background thread which receives incoming messages. I need to determine should I show to user a new incoming message or not. I mean if Single Chat Screen with somebody is open I do not need to show user a message, but on any other screen I need to show pop up view. So I need to determine, which View is currently open and receive variable from this view (in my case it is var chat: Chat!, it contains chat ID) to determine which chat received a message. Every messenger has similar functionality: WhatsApp, Viber. Does anybody knows how to do this?
I will be thankful for any help or advice.
I do not understand: why this question is going down? Whats wrong with it?
I think for your case each of your views must have his own chatID and when you receiving some message you have to compare the chatID of your message and your view
In our app, we use MFMailComposeViewController in order to generate and send an invitation message, containing some text and a deep link. Sometimes, when there is a network communication problem, the deep link can't be shortened. When this happens, after the recipient gets the invitation message, the link is broken:
I have no idea why it happens. Is there any way to fix this? By the way, if the recipient uses an Android device, the link is displayed correctly.
I have an app that presents a MFMessageComposeViewController for sending a text message for a predefined number. The current user already has an SMS history with this number, so already existing SMS with this number show up in the composer. Some of this SMSs have links inside.
Problem is:
When I click on the link from my app message composer the link does nothing.
BUT when I open the SMS app, select the contact and click the links in old messages it opens in Safari.
Question is: is there any way I can handle the tap on the links inside an MFMessageComposeViewController?
From what I can tell this is not currently possible.
And you are also not aloud subclass. Since there are no other public messaging Apis you are out of luck on this one. - at least on this version of ios 7.
From what I can tell, this is not possible, but I wanted to ask in case there were any potential workarounds that have cropped up recently.
Ultimately, I want to programmatically send a message (of some kind) to whoever is calling (while my app is active).
Thank you for any help.
Not possible. Neither is programmatically sending a text message (assuming you mean sending a message from the user's phone).