Skip to content

Kofktu/UITextField-TextOffsetFix

Repository files navigation

UITextField+TextOffsetFix

  • UITextField character moves down when editing bug fix in iOS10

Bug in iOS10

alt tag

Fix

alt tag

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

CocoaPods

Sniffer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "UITextField+TextOffsetFix"

Usage

Objective-C

@import UITextField_TextOffsetFix;

Swift

import UITextField_TextOffsetFix

Questions

Why did you write the library in Objective-C, not Swift?

Method 'initialize()' defines Objective-C class method 'initialize', which is not guaranteed to be invoked by Swift and will be disallowed in future versions

Authors

Taeun Kim (kofktu), kofktu@gmail.com

License

UITextField+TextOffsetFix is available under the MIT license. See the LICENSE file for more info.

About

UITextField character moves down when editing bug fix in iOS10

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published