Latest 0.1.2
Homepage https://github.com/moon4ik/AppSwitcherView
License MIT
Platforms ios 10.0
Authors

Version
License
Platform

Show LaunchScreen or your UIView/UIViewController instead app snapshot in the App Switcher.

GitHub Screenshot1 GitHub Screenshot2
Before After

Requirements

  • iOS 10.0+
  • Xcode 10.0+
  • Swift 4.2+

Installation

AppSwitcherView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'AppSwitcherView'

How to use

Turn on AppSwitcherView by calling the following line in the - application:didFinishLaunchingWithOptions: application delegate. Don’t forget do import: import AppSwitcherView

import AppSwitcherView
...
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
...
AppSwitcherView.setup()
...
return true
}

Thats all, run your app and you will see the LaunchScreen when open the App Switcher.

How to open App Switcher

Switch apps on iPhone X or later:

  • Swipe up from the bottom to the middle of your screen and hold until you see the App Switcher.

If you have a Smart Keyboard or Bluetooth keyboard paired to your iPad, press Command-Tab to switch between apps.

Switch apps with the Home button iPhone 8 or earlier:

  • Double-click the Home button to see recently used apps.

Example

Show LaunchScreen

AppSwitcherView.setup()

Show your custom UIView

AppSwitcherView.setupWith(view: YOUR_UIVIEW)

Show your custom UIViewController

AppSwitcherView.setupWith(viewController: YOUR_UIVIEWCONTROLLER)

Show snapshot with blur

AppSwitcherView.setupWithBlur() //Default blur settings
AppSwitcherView.setupWithBlur(style: .dark, alpha: 0.75) //Custom blur settings

Author

Oleksii Mykhailenko, [email protected]

License

AppSwitcherView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "AppSwitcherView",
    "version": "0.1.2",
    "summary": "Show LaunchScreen or your UIView/UIViewController instead app snapshot in the App Switcher.",
    "description": "'Show LaunchScreen or your UIView/UIViewController instead app snapshot in the App Switcher'",
    "homepage": "https://github.com/moon4ik/AppSwitcherView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Oleksii Mykhailenko": "[email protected]"
    },
    "source": {
        "git": "https://github.com/moon4ik/AppSwitcherView.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.2",
    "source_files": "AppSwitcherView/Classes/**/*"
}

Pin It on Pinterest

Share This