diff --git a/netfox/Core/NFXHTTPModel.swift b/netfox/Core/NFXHTTPModel.swift index bddf6172..33d1892e 100755 --- a/netfox/Core/NFXHTTPModel.swift +++ b/netfox/Core/NFXHTTPModel.swift @@ -173,8 +173,7 @@ fileprivate func < (lhs: T?, rhs: T?) -> Bool { @objc public func readRawData(from fileURL: URL) -> Data? { do { return try Data(contentsOf: fileURL) - } catch let error { - print("[NFX]: Failed to load data from [\(fileURL)] - \(error.localizedDescription)") + } catch { return nil } } diff --git a/netfox/iOS/NFXHelper_iOS.swift b/netfox/iOS/NFXHelper_iOS.swift index 6cb42e7d..a548cd5b 100755 --- a/netfox/iOS/NFXHelper_iOS.swift +++ b/netfox/iOS/NFXHelper_iOS.swift @@ -9,18 +9,6 @@ import UIKit -extension UIWindow { - override open func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) { - if NFX.sharedInstance().getSelectedGesture() == .shake { - if (event!.type == .motion && event!.subtype == .motionShake) { - NFX.sharedInstance().motionDetected() - } - } else { - super.motionEnded(motion, with: event) - } - } -} - public extension UIDevice { class func getNFXDeviceType() -> String {