Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
修复 输入第一个字符时高度变高的问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
rakuyoMo committed Sep 23, 2017
1 parent 365bc86 commit 9ad4044
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#### 集成:

```shell
pod 'RKOTextView', '~> 1.0.2'
pod 'RKOTextView', '~> 1.0.3'
```

#### 基本使用:
Expand Down
4 changes: 2 additions & 2 deletions RKOTextViewManager/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# RKOTextView

<p align="center">
<a href=""><img src="https://img.shields.io/badge/pod-v1.0.2-brightgreen.svg"></a>
<a href=""><img src="https://img.shields.io/badge/pod-v1.0.3-brightgreen.svg"></a>
<a href=""><img src="https://img.shields.io/badge/ObjectiveC-compatible-orange.svg"></a>
<a href=""><img src="https://img.shields.io/badge/platform-iOS%207.0%2B-ff69b5152950834.svg"></a>
<a href="https://github.com/rakuyoMo/RKOTools/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat"></a>
Expand Down Expand Up @@ -37,7 +37,7 @@
## 集成

```shell
pod 'RKOTextView', '~> 1.0.2'
pod 'RKOTextView', '~> 1.0.3'
```

## 基本使用
Expand Down
4 changes: 2 additions & 2 deletions RKOTextViewManager/RKOTextView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = "RKOTextView"
s.version = "1.0.2"
s.version = "1.0.3"
s.summary = "A UITextView package"
s.description = <<-DESC
A UITextView package
Expand All @@ -23,7 +23,7 @@ Pod::Spec.new do |s|

s.ios.deployment_target = "7.0"

s.source = { :git => "https://github.com/rakuyoMo/RKOControls.git", :tag => "1.0.2" } # #{s.version}
s.source = { :git => "https://github.com/rakuyoMo/RKOControls.git", :tag => "1.0.3" } # #{s.version}

s.requires_arc = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ - (void)setUp {
self.scrollsToTop = NO;
self.showsHorizontalScrollIndicator = NO;
self.enablesReturnKeyAutomatically = YES;

// TextView的高度自适应
[self fitHight:self];
}

#pragma mark - 系统方法
Expand Down

0 comments on commit 9ad4044

Please sign in to comment.