Hello. If the user broke the screen, the iphone can detect that the screen is broken and how do I display a message about it in the app?
Detect that screen is broken to alarm app user
There is no UIDeviceScreenDidBreakNotification for an app to respond to.. And when would this be triggered? How broken would the screen need to be? I am curious. What is your purpose for wanting to provide this when the user's own eyes would be the best observer of a broken screen?
Hello. I need to know the person have a broken screen or not, is it possible?
Not programmatically/without user interaction, no.
There is no way to do this.
I really need to know. Great work maybe we can do it?
This simply isn't possible. It also probably violates section 13 of the App Review Guidelines as well.
Apps that encourage users to use an Apple Device in a way that may cause damage to the device will be rejected
Sorry!
There is a way! It's very special! Do you want to know it?
Wouldn't it be much more useful if there were such a thing as an UIUserIsAnIdiotNotification?
Hmm... 😁