Skip to content

Commit

Permalink
Fixes issues with building the sample project and with the readme.
Browse files Browse the repository at this point in the history
JTSImageViewControllerBackgroundStyle_ScaledDimmedBlurred and JTSImageViewControllerBackgroundStyle_ScaledDimmed do not exist. Replaced with JTSImageViewControllerBackgroundOption_Scaled
  • Loading branch information
markrickert committed Jan 14, 2015
1 parent 9bbd311 commit 567777b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Usage is pretty simple, though there are some cool options and delegate methods
JTSImageViewController *imageViewer = [[JTSImageViewController alloc]
initWithImageInfo:imageInfo
mode:JTSImageViewControllerMode_Image
backgroundStyle:JTSImageViewControllerBackgroundStyle_ScaledDimmedBlurred];
backgroundStyle:JTSImageViewControllerBackgroundOption_Scaled];

// Present the view controller.
[imageViewer showFromViewController:self transition:JTSImageViewControllerTransition_FromOriginalPosition];
Expand Down
2 changes: 1 addition & 1 deletion Sample App/JTSImageVC/JTSImageVC/JTSViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ - (void)bigButtonTapped:(id)sender {
JTSImageViewController *imageViewer = [[JTSImageViewController alloc]
initWithImageInfo:imageInfo
mode:JTSImageViewControllerMode_Image
backgroundStyle:JTSImageViewControllerBackgroundStyle_ScaledDimmed];
backgroundStyle:JTSImageViewControllerBackgroundOption_Scaled];

// Present the view controller.
[imageViewer showFromViewController:self transition:JTSImageViewControllerTransition_FromOriginalPosition];
Expand Down

0 comments on commit 567777b

Please sign in to comment.