Skip to content

Commit

Permalink
Release 1.2.1 with Fix blank consent html review page.
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanZhu-apple committed Sep 14, 2015
1 parent e1faf65 commit ce3f17d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ResearchKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ResearchKit'
s.version = '1.2'
s.version = '1.2.1'
s.summary = 'ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.'
s.homepage = 'https://www.github.com/ResearchKit/ResearchKit'
s.documentation_url = 'http://researchkit.github.io/docs/'
Expand Down
3 changes: 3 additions & 0 deletions ResearchKit/Consent/ORKConsentReviewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ - (void)viewDidLoad {

[self.view addSubview:_webView];
[self.view addSubview:_toolbar];

[self.view setNeedsUpdateConstraints];
}

- (void)updateLayoutMargins {
Expand All @@ -95,6 +97,7 @@ - (void)updateLayoutMargins {
}

- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator {
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
[self updateLayoutMargins];
}

Expand Down
4 changes: 0 additions & 4 deletions ResearchKit/Consent/ORKConsentReviewStepViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ - (void)viewDidLoad {
[self stepDidChange];
}

- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
}

- (UIBarButtonItem *)goToPreviousPageButtonItem {
UIBarButtonItem *button = [UIBarButtonItem ork_backBarButtonItemWithTarget:self action:@selector(goToPreviousPage)];
button.accessibilityLabel = ORKLocalizedString(@"AX_BUTTON_BACK", nil);
Expand Down

0 comments on commit ce3f17d

Please sign in to comment.