From 387ba64b1f3f6351d409515a0168609c3b786cd1 Mon Sep 17 00:00:00 2001
From: Jonas Gessner
Date: Wed, 13 Aug 2014 09:12:52 -0700
Subject: [PATCH] [1.0.2]
---
JGActionSheet.podspec | 4 ++--
JGActionSheet/JGActionSheet.m | 2 ++
README.md | 4 ++--
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/JGActionSheet.podspec b/JGActionSheet.podspec
index 72f5a0f..b7bbfbb 100644
--- a/JGActionSheet.podspec
+++ b/JGActionSheet.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "JGActionSheet"
- s.version = "1.0.1"
+ s.version = "1.0.2"
s.summary = "A feature rich action sheet for iOS."
s.description = <<-DESC
JGActionSheet has all features of UIActionSheet but it goes even further than that:
@@ -16,7 +16,7 @@ DESC
s.author = "Jonas Gessner"
s.social_media_url = "http://twitter.com/JonasGessner"
s.platform = :ios, "5.0"
- s.source = { :git => "https://github.com/JonasGessner/JGActionSheet.git", :tag => "v1.0.1" }
+ s.source = { :git => "https://github.com/JonasGessner/JGActionSheet.git", :tag => "v1.0.2" }
s.source_files = "JGActionSheet/*.{h,m}"
s.frameworks = "Foundation", "UIKit", "QuartzCore"
s.requires_arc = true
diff --git a/JGActionSheet/JGActionSheet.m b/JGActionSheet/JGActionSheet.m
index ea16a02..4a961bb 100644
--- a/JGActionSheet/JGActionSheet.m
+++ b/JGActionSheet/JGActionSheet.m
@@ -656,6 +656,8 @@ - (void)layoutSheetForFrame:(CGRect)frame fitToRect:(BOOL)fitToRect initialSetUp
_finalContentFrame = _scrollViewHost.frame;
_scrollView.frame = _scrollViewHost.bounds;
+
+ [_scrollView scrollRectToVisible:(CGRect){{0.0f, _scrollView.contentSize.height-1.0f}, {1.0f, 1.0f}} animated:NO];
}
- (void)layoutForVisible:(BOOL)visible {
diff --git a/README.md b/README.md
index 59c3b39..dbc1db5 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ A feature rich and modern action sheet for iOS.
![](JGActionSheet%20Tests/Screenshots/2.png)
-#####Current Version: 1.0.1
+#####Current Version: 1.0.2
Introduction
===========
@@ -14,7 +14,7 @@ JGActionSheet has all features of UIActionSheet but it goes even further than th
• Multiple sections.
• Full customization for buttons and labels.
• Sections can contain custom views.
-• Blocks.
+• Block callbacks.
• Unlimited content capacity, thanks to UIScrollView.
####iPad support: