All Projects → V8tr → Keyboardavoidanceswiftui

V8tr / Keyboardavoidanceswiftui

Licence: unlicense
How to move SwiftUI view up when keyboard appears https://www.vadimbulavin.com/how-to-move-swiftui-view-when-keyboard-covers-text-field/

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Keyboardavoidanceswiftui

iOSUtilitiesSource
IOS Utilities Library for Swift
Stars: ✭ 46 (-76.77%)
Mutual labels:  keyboard, textfield
Iqkeyboardmanager
Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more.
Stars: ✭ 15,415 (+7685.35%)
Mutual labels:  keyboard, xcode
Tkkeyboardcontrol
TKKeyboardControl adds keyboard awareness and scrolling dismissal (like iMessages app) to any view with only 1 line of code for Swift.
Stars: ✭ 110 (-44.44%)
Mutual labels:  keyboard, textfield
FormToolbar
Simple, movable and powerful toolbar for UITextField and UITextView.
Stars: ✭ 85 (-57.07%)
Mutual labels:  keyboard, textfield
TTInputVisibilityController
Lightweight controller to keep your inputs visible when the keyboard is presented.
Stars: ✭ 21 (-89.39%)
Mutual labels:  keyboard, textfield
Uitextfield Navigation
🏄‍♂️ UITextField-Navigation makes it easier to navigate between UITextFields and UITextViews
Stars: ✭ 436 (+120.2%)
Mutual labels:  keyboard, xcode
Keyboardtextfield
KeyboardTextField is a lightweight, simple, non-invasive keyboard accompanying input box! Write in Swift!
Stars: ✭ 170 (-14.14%)
Mutual labels:  keyboard, textfield
Faimagecropper
Image Cropper like Instagram
Stars: ✭ 188 (-5.05%)
Mutual labels:  xcode
Youtag
iOS music player app that downloads music from the internet, even YouTube
Stars: ✭ 193 (-2.53%)
Mutual labels:  xcode
Cleanclosurexcode
An Xcode Source Editor extension to clean the closure syntax.
Stars: ✭ 186 (-6.06%)
Mutual labels:  xcode
Mac Keyboard Brightness
🔆 Programmatically get & set the keyboard & display backlight brightness on Macs. Flash your keyboard to the music! (only works on <2015 Macs)
Stars: ✭ 185 (-6.57%)
Mutual labels:  keyboard
Xcodeequatablegenerator
Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection.
Stars: ✭ 188 (-5.05%)
Mutual labels:  xcode
Pixelsdk
The modern photo and video editor for your iPhone / iPad app. A fully customizable image & video editing iOS Swift framework.
Stars: ✭ 192 (-3.03%)
Mutual labels:  xcode
Karabiner Elements
Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
Stars: ✭ 13,874 (+6907.07%)
Mutual labels:  keyboard
Iosdevicesupport
存放iOS镜像文件、iOSDeviceSupport、真机调试包、DeviceSupport、iOS-DeviceSupport,供大家参考,目前收录iOS8.0~iOS14.5,持续更新中
Stars: ✭ 197 (-0.51%)
Mutual labels:  xcode
Amappexporttoipa Xcode Plugin
AMAppExportToIPA-Xcode-Plugin is a simple Xcode plugin to export .app to .ipa file.
Stars: ✭ 185 (-6.57%)
Mutual labels:  xcode
Nocturnal
A Dimness and Night Shift menu bar app for macOS 🌙
Stars: ✭ 199 (+0.51%)
Mutual labels:  xcode
Pdfxkit
A drop-in replacement for Apple PDFKit powered by our PSPDFKit framework under the hood.
Stars: ✭ 195 (-1.52%)
Mutual labels:  xcode
Todaynews
Swift4 - 今日头条
Stars: ✭ 2,187 (+1004.55%)
Mutual labels:  xcode
Phaser Input
Adds input boxes to Phaser like CanvasInput, but also works for WebGL and Mobile, made for Phaser only.
Stars: ✭ 191 (-3.54%)
Mutual labels:  keyboard

Article related to this project


KeyboardAvoidanceSwiftUI

A sample project showing how to move SwiftUI view up when keyboard covers a text field.

Usage:

struct ContentView: View {
    @State private var text = ""
    
    var body: some View {
        VStack {
            Spacer()
            
            TextField("Enter something", text: $text)
                .textFieldStyle(RoundedBorderTextFieldStyle())
        }
        .padding()
        .keyboardAdaptive() // <--- Apply the view modifier
    }
}

Result:

How to manage the iOS system keyboard when it covers a SwiftUI text field

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].