Remove extra top padding in iPhone text boxes
This commit is contained in:
@@ -4,6 +4,7 @@ import SwiftUI
|
|||||||
final class PhoneDelegate: NSObject, UIApplicationDelegate {
|
final class PhoneDelegate: NSObject, UIApplicationDelegate {
|
||||||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
|
||||||
Notifier.shared.install()
|
Notifier.shared.install()
|
||||||
|
UITextView.appearance().textContainerInset = .zero
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user