The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
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!
```swift
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
```
- Fixed warning `[Presentation] Presenting view controller <_UIContextMenuActionsOnlyViewController> from detached view controller <LocalConsole.ConsoleViewController> is discouraged.`
- Fixed console view being overlapped by presented view controllers and context menus.
Fixed build failure when building for iOS 14
- Added "Terminate App" action.
- Renamed and updated symbols for some menu items.
- Restructured the way the console injects itself into the view hierarchy. The console view controller is now added to the app's main window instead of creating a window for itself.
- Fixed blocked touches on iPad
- Fixed simulator crash
- Fixed crash that could occur when the keyboard appears
Fix build failure `Variable binding in a condition requires an initializer` when using Swift 5.6 and lower.
Fixes an issue that caused the console border to overlap the console (in front of dark backgrounds).
This version fixes an issue that caused keyboard avoidance to stop working.
- Added support for avoiding Dynamic Island on iPhone 14 Pro.
- Added safe area insets to Display Report.