diff --git a/README.md b/README.md index 1c6e434..f201b66 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ #### 集成: ```shell - pod 'RKOTextView', '~> 1.0.2' + pod 'RKOTextView', '~> 1.0.3' ``` #### 基本使用: diff --git a/RKOTextViewManager/README.md b/RKOTextViewManager/README.md index 257d6f9..f60eb35 100644 --- a/RKOTextViewManager/README.md +++ b/RKOTextViewManager/README.md @@ -1,7 +1,7 @@ # RKOTextView
- + @@ -37,7 +37,7 @@ ## 集成 ```shell - pod 'RKOTextView', '~> 1.0.2' + pod 'RKOTextView', '~> 1.0.3' ``` ## 基本使用 diff --git a/RKOTextViewManager/RKOTextView.podspec b/RKOTextViewManager/RKOTextView.podspec index d970c3a..01983b1 100644 --- a/RKOTextViewManager/RKOTextView.podspec +++ b/RKOTextViewManager/RKOTextView.podspec @@ -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 @@ -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 diff --git a/RKOTextViewManager/RKOTextView/RKOTextView/RKOTextView/RKOTextView.m b/RKOTextViewManager/RKOTextView/RKOTextView/RKOTextView/RKOTextView.m index 693dbf6..98a699e 100644 --- a/RKOTextViewManager/RKOTextView/RKOTextView/RKOTextView/RKOTextView.m +++ b/RKOTextViewManager/RKOTextView/RKOTextView/RKOTextView/RKOTextView.m @@ -93,6 +93,9 @@ - (void)setUp { self.scrollsToTop = NO; self.showsHorizontalScrollIndicator = NO; self.enablesReturnKeyAutomatically = YES; + + // TextView的高度自适应 + [self fitHight:self]; } #pragma mark - 系统方法