ProHUD/Source/HUDUtils.swift

21 lines
356 B
Swift
Raw Permalink Normal View History

2020-06-22 13:27:54 +08:00
//
// HUDUtils.swift
// ProHUD
//
// Created by xaoxuu on 2020/6/22.
// Copyright © 2020 Titan Studio. All rights reserved.
//
import UIKit
import Inspire
extension String {
static let rotateKey = "rotationAnimation"
}
extension ProHUD {
static var safeAreaInsets: UIEdgeInsets {
2020-06-23 10:35:15 +08:00
return Inspire.shared.screen.safeAreaInsets
2020-06-22 13:27:54 +08:00
}
}