27 lines
750 B
Swift
27 lines
750 B
Swift
//
|
|
// Application.swift
|
|
// Privado
|
|
//
|
|
// Created by Juraldinio on 12/16/19.
|
|
// Copyright © 2019 Omicronmedia. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
// Even if we loading application manually we need to setup `Info.plist` key:
|
|
// <key>NSPrincipalClass</key>
|
|
// <string>NSApplication</string>
|
|
// Otherwise Application will be loaded in `low resolution` mode.
|
|
|
|
final class Application: UIApplication {
|
|
|
|
override func open(_ url: URL, options: [UIApplication.OpenExternalURLOptionsKey: Any] = [:], completionHandler completion: ((Bool) -> Void)? = nil) {
|
|
super.open(url, options: options, completionHandler: completion)
|
|
}
|
|
|
|
override func sendEvent(_ event: UIEvent) {
|
|
super.sendEvent(event)
|
|
}
|
|
}
|