This should fix a < iOS 15 crash that could occur when the share sheet was invoked (https://github.com/duraidabdul/LocalConsole/issues/19).
Unclaimed project
Are you a maintainer of LocalConsole? Claim this project to take control of your public changelog and roadmap.
This should fix a < iOS 15 crash that could occur when the share sheet was invoked (https://github.com/duraidabdul/LocalConsole/issues/19).
You can now add a custom menu element to your console as a submenu!
let action = UIAction(title: "My Action") { _ in
LCManager.shared.print("Hello, world!")
}
let customMenu = UIMenu(
title: "Quick Actions",
image: UIImage(systemName: "wand.and.stars"),
children: [action]
)
LCManager.shared.menu = customMenu
[Presentation] Presenting view controller <_UIContextMenuActionsOnlyViewController> from detached view controller <LocalConsole.ConsoleViewController> is discouraged.Fixed build failure when building for iOS 14