For iOS, is it possible to have a Toast message that can display on top of system app Settings?

223

No. You are sandboxed; Settings is a different app and you cannot impose anything on to its interface.

Share:
223
thankyoussd
Author by

thankyoussd

I picked up my first language, Z-80 assembly, more than three decades ago. Since then, I have worked with a variety of programming languages, among others, such as APL, C, Pascal, Fortran, C++, Java, Scala, Python, Ruby, and Perl. All original source code I post on Stackoverflow and other Stackexchange sites is Copyright 2009–2021 © A. Sinan Unur, and dual-licensed under the MIT License.

Updated on January 04, 2023

Comments

  • thankyoussd
    thankyoussd over 1 year

    I have a button in my app that brings up the system app settings UI. Instructions are given around the button.

    I want to provide further instructions to the user via a toast message after the settings page shows up so they know exactly what to do. It's not a super intuitive setting, related to notification style, and such instructions would be a lot clearer when the user is actually on the settings page.

    In Android, this is easily done via toast.makeText().show(). The resulting toast would have no problem going on top of the system settings UI.

    In iOS though, I've looked up several guides, mostly using the UIView animation. The problem is, the resulting toast window seems to only work inside the app itself. It cannot go on top of the system settings UI.

    Is what I want to achieve technically possible in iOS?

    • Jason
      Jason about 2 years
      I highly doubt it.
    • MBT
      MBT about 2 years
      I think it's not possible. Rather you can show an UIAlertController or custom popup view and show the instruction there. Then when user tap the yes/ok button of the alertController, take them to system setting app.
    • thankyoussd
      thankyoussd about 2 years
      @talha_kuet Yeah that's what I already did. Unfortunately this particular setting requires 2 more level of clicks inside the settings, and it'd be a lot clearer if the instructions are actually shown on the settings page itself.
  • thankyoussd
    thankyoussd about 2 years
    That's unfortunate. We obviously don't want to interfere with other apps. I wish they'd expose a system level display like Android's toast . Thanks for the confirmation!
  • matt
    matt about 2 years
    Yeah, our app has the same issue. We send you off to system settings where you have to do something really confusing.