Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
[1.0.2]
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGessner committed Aug 13, 2014
1 parent 45058d0 commit 387ba64
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions JGActionSheet.podspec
Original file line number Diff line number Diff line change
@@ -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
<b>JGActionSheet has all features of UIActionSheet but it goes even further than that:<b>
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions JGActionSheet/JGActionSheet.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ A feature rich and modern action sheet for iOS.
<img src="JGActionSheet%20Tests/Screenshots/1.png" width="36.2%"/>&nbsp;
<img src="JGActionSheet%20Tests/Screenshots/2.png" width="48%"/></p>

#####Current Version: 1.0.1
#####Current Version: 1.0.2

Introduction
===========
JGActionSheet has all features of UIActionSheet but it goes even further than that:<br>
<b>• Multiple sections.<br>
• Full customization for buttons and labels.<br>
• Sections can contain custom views.<br>
Blocks.<br>
Block callbacks.<br>
• Unlimited content capacity, thanks to UIScrollView.<br></b>

####iPad support:
Expand Down

0 comments on commit 387ba64

Please sign in to comment.