JTSImageViewController v1.4 Release Notes

Release Date: 2014-11-03 // over 9 years ago
    • ๐Ÿ‘Œ 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!