-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Imported as a part of MultiSelectSegmentedControl install, my project has an extension.
I try to build the project and I get this error on the file "UIApplication+Sweeter.swift":
'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.
This occurs on line 11:
public class func topViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
Elelan
Metadata
Metadata
Assignees
Labels
No labels