FS.O6 FS.O6 - 2 months ago 28
Swift Question

Creating a "Slide to power off" like slider on iOS

I'm trying to create a slider like that:


Is there any UI Element I can use in order to achieve this? Or any other way?

Thank you!


No, there is no direct UIElement available which will give the desired effect. If you plan to release the app on AppStore I would suggest do not try to replicate slide to unlock / power off.

I had a app rejected exactly for this reason. Following is the rejection reason as given by Apple.

Specifically, the Slide to Start element is not appropriate and not in compliance with the App Store Review Guidelines as it is too similar to the iOS Slide to Unlock UI. While we understand this specific UI element is not present in the current version of iOS, it is still not appropriate to include it in your app.

I had this same UIElement approved in an earlier version but got rejected during an update. So there is a small chance it gets over looked.