文件名称:KeyboardAvoider:iOS的SwiftUI中缺少的交互式键盘
文件大小:3.3MB
文件格式:ZIP
更新时间:2024-05-04 22:00:54
keyboard ios autokeyboard swiftui autodismisskeyboard
:keyboard: KeyboardAvoider {} SwiftUI的KeyboardAvoider 。 受到中的简单性的启发。 特征 自动滚动到TextField 滑动键盘以关闭 安装 创建一个Package.swift文件。 import PackageDescription let package = Package ( name : " TestProject " , dependencies : [ . package ( url : " https://github.com/michaelhenry/KeyboardAvoider.git " , from : " 1.0.0 " ) ] ) 椰子足 target 'MyApp' do pod 'KeyboardAvoider' , '~> 1.0' end 如何使用 import KeyboardAvoid
【文件预览】:
KeyboardAvoider-master
----.gitignore(52B)
----Sources()
--------KeyboardAvoider()
----images()
--------screenshot.gif(1.22MB)
--------screenshot2.gif(2.13MB)
----KeyboardAvoider.podspec(858B)
----LICENSE(1KB)
----KeyboardAvoider-Example()
--------KeyboardAvoider-Example.xcodeproj()
--------KeyboardAvoider-Example()
----.github()
--------workflows()
----README.md(3KB)
----Package.swift(1KB)
----Tests()
--------KeyboardAvoiderTests()