Floating widget on top of other apps

Hello everyone, Is there a way to make an application widget like button appears all the time, even on the home screen. I want to make a floating button which will appear on top of all the apps. I want to build an application similar to assistive which will appear on home screen and on top of other apps.

For iOS, the answer is simply "No." That's not anything at all permitted in the multi-tasking model.


I'm presuming that you're asking about iOS because you're asking about the home screen.

Hello @NotMyName Thanks for the reply. I need one confirmatation.


Yes I was referring to Assistive button in iOS which appears on top of the home screen similiar to this: http://imgur.com/a/juL3P

Onclicking the assitive button an alert window opens as an overlay on top of the home screen similar to this: http://imgur.com/a/m3Vup

So What I want to do is to have a floating button/widget similar to the assisitive button which will appear on the homescreen and also on top of other apps.

I have a similar thing built on android refer to this screenshot: http://imgur.com/a/zn3SE

A floating button which will stay on top all the application. In the above screenshot the buttons is on top of the whatsapp screen. On clicking this floating widget a alert is shown: http://i.imgur.com/PjH68jN.jpg

I'm trying to achieve the same in iOS. Is it possible in iOS? I just need this confirmation.

4 years later.. still not possible?

I'm wondering if this is possible on macos

I'm wondering if this is possible on macos

Yes. Probably (-:

To say for sure I need to you define what you mean by “this”. There have been multiple ideas bounced around on this thread, including some that just don’t make sense on macOS (what’s the Home screen on macOS?), so it’s hard to give a definitive answer without a clear specification.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@eskimo I was able to somehow achieve this by adding this to my view controller :

    view.window?.backgroundColor = .blue
    view.window?.level = .floating
  }

but this only works on the Desktop , meaning if I have a couple apps in none full screen mode , my app is always on top of them all . but when I swipe to a full screen app using the tree fingers gesture my app stays in the desktop , how can make my app always on top and also always on the current view full screen view , or lets say make follow the user to the swiped to full screen view .

Floating widget on top of other apps
 
 
Q