Skip to content

Releases: jaredsinclair/JTSImageViewController

1.5.1

14 Sep 15:35
Compare
Choose a tag to compare
  • Fixed a potential memory leak.
  • Fixed some minor Xcode warnings, mostly in the sample app.

1.5

13 Mar 01:46
Compare
Choose a tag to compare
1.5
  • Fixes a crash when trying to create an animated GIF from malformed data.
  • Updated the sample app.

1.4

03 Nov 02:16
Compare
Choose a tag to compare
1.4
  • Support for iOS 8 & Bug Fixes – This includes a fix for the various "flicker" bugs that can occur under certain cases (showing the viewer, double-tapping to zoom, etc.). Special note on iOS 8 and autorotation: since iOS 8 changes the way autorotation events are propagated to view controllers, a landscape-to-landscape rotation (or a portrait-to-portrait rotation) will look a little strange on iOS 8. This is because neither viewWillTransitionToSize: nor willAnimateToInterfaceOrientation: are called for these edge cases. A sad oversight on Apple's part.
  • API Change: Background Options – The background style has been changed to background options to make it clearer which combinations are available: blurred, scaled, both, or neither. The "dimming" is a separate option controlled via a background color (which remains unchanged).
  • Animation Delegate – Added a new delegate property and a new < JTSImageViewControllerAnimationDelegate> protocol, which gives you an easy way to add or remove custom interface elements overlaid on top of the image viewer without resorting to subclassing or forking. Great for custom sharing or cancel buttons.
  • UI Improvements – JTSImageInfo has an option for referenceContentMode and referenceCornerRadius, making your animations looks 10x better when expanding from source views that use those parameters. Check out the sample app for an extreme example. Anti-aliasing is also enabled on the image view inside the viewer.
  • UIMenuController – You can optionally enable a UIMenuController. Adds the ability to copy the image.
  • Miscellaneous – Add support for iPhone 6 and 6 Plus to the sample app. Make the use of dot notation fully consistent throughout.

Thanks to all the contributors for their pull requests in this release!

1.2

03 Jun 19:37
Compare
Choose a tag to compare
1.2
  • Bug Fixes – Fixed minor UI bugs: landscape orientation when using the blurred background mode, improperly tinted status bars, etc.
  • Touch Improvements – Tweaked the dynamics when dragging and flicking away images. It was too tight in previous versions.
  • API Changes – Moved some options that had previously been readwrite properties into delegate methods, and added one or two new options along the way. For example, you can set a custom background color for the image view (for images you'd rather not have clear backgrounds).

1.1.1

27 Apr 18:52
Compare
Choose a tag to compare
  • Bug Fixes – Fixes a bug with animated GIFs that could lead to a crash, and a bug that causes animation glitches for some views on some devices.

1.1

27 Apr 16:29
Compare
Choose a tag to compare
1.1
  • iPad Support – Adds support for iPad, as well as all four interface orientations (portrait upside down had been excluded from earlier versions).
  • Bug Fixes – Adds fixes for bugs with UINavigationBar and UIToolBar showing up as black on some devices.
  • Flick-to-Dismiss Improvements – Tweaked the UIDynamics configuration to feel more natural on devices with a variety of screen sizes.
  • New Options – Expose two new options: the blur radius used when blurring the background, and the opacity of the shadow view that dims the background.

1.0.1

10 Apr 01:01
Compare
Choose a tag to compare

Fixes several bugs, and improves the handling of status bar visibility.