bhlvoong/LBTATools

issue with target iOS 13 Xcode 11.4

Closed this issue · 3 comments

I just installed the pod on a project targeting iOS 13 and received the following error. XCode 11.4

'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.

LBTAFormController.swift
@objc fileprivate func handleKeyboardShow(notification: Notification) {
...

   if alignment == .center {
            scrollView.contentInset.bottom += UIApplication.shared.statusBarFrame.height
   }
...
}

I suggest using SPM instead of pods.

I just migrated to SPM, but why the requirement for iOS 11 on layout constraints and ListController?

I decided to only support iOS 13+ since there were some major changes with introduction of SwiftUI previews.