Show iOS status alert boxes using one line of code
VSAlertModalStatus allows you to show alerts containing in image, title, and subtitle, which is animated in and shown for a few seconds until it automatically fades out. This framework aims to replicate the same look and feel as the status alert boxes used on the iOS Music app.
- Show an alert box using one line of code
- iOS 11.0+
- Xcode 10.0
You can use CocoaPods to install YourLibrary
by adding it to your Podfile
:
pod 'VSAlertModalStatus', :git => 'https://github.com/vioside/VSAlertModalStatus', :tag => '0.0.3'
To get the full benefits import YourLibrary
wherever you import UIKit
import UIKit
import VSAlertModalStatus
import VSAlertModalStatus
VSModalStatusView.displayAlertStatusIn(controller: self,
image: UIImage(named: "test")!,
title: "Static",
subtitle: "",
duration: 0.10)
We would love you for the contribution to VSAlertModalStatus, check the LICENSE
file for more info.
Vioside – @Vioside
Distributed under the MIT license. See LICENSE
for more information.