From 76b863f00a730603b37c3c18d043445fd7ee2289 Mon Sep 17 00:00:00 2001 From: Bob Sun Date: Wed, 8 Feb 2017 19:17:53 +0800 Subject: [PATCH] set minimum size of HUB --- pass/AppDelegate.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pass/AppDelegate.swift b/pass/AppDelegate.swift index d487f7f..d91ffab 100644 --- a/pass/AppDelegate.swift +++ b/pass/AppDelegate.swift @@ -9,6 +9,7 @@ import UIKit import CoreData import PasscodeLock +import SVProgressHUD @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { @@ -22,6 +23,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. + SVProgressHUD.setMinimumSize(CGSize(width: 150, height: 100)) passcodeLockPresenter.present() if let shortcutItem = launchOptions?[UIApplicationLaunchOptionsKey.shortcutItem] as? UIApplicationShortcutItem { print(shortcutItem.type)