Skip to content

Commit

Permalink
release 2.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Jan 13, 2019
1 parent ec9c712 commit 28aad89
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PhotoBrowser/ZLPhotoActionSheet.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by long on 15/11/25.
// Copyright © 2015年 long. All rights reserved.
//
//pods version 2.7.6 - 2018.11.29 update
//pods version 2.7.7 - 2019.01.13 update

#import <UIKit/UIKit.h>
#import "ZLPhotoConfiguration.h"
Expand Down
4 changes: 3 additions & 1 deletion PhotoBrowser/ZLPlayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ - (void)setupUI
- (void)setVideoUrl:(NSURL *)videoUrl
{
_player = [AVPlayer playerWithURL:videoUrl];
_player.automaticallyWaitsToMinimizeStalling = NO;
if (@available(iOS 10.0, *)) {
_player.automaticallyWaitsToMinimizeStalling = NO;
}
[_player addObserver:self forKeyPath:@"status" options:NSKeyValueObservingOptionNew context:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(playFinished) name:AVPlayerItemDidPlayToEndTimeNotification object:nil];

Expand Down
2 changes: 1 addition & 1 deletion ZLPhotoBrowser.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ZLPhotoBrowser'
s.version = '2.7.6'
s.version = '2.7.7'
s.summary = 'A simple way to multiselect photos from ablum, force touch to preview photo, support portrait and landscape, edit photo, multiple languages(Chinese,English,Japanese)'
s.homepage = 'https://github.com/longitachi/ZLPhotoBrowser'
s.license = 'MIT'
Expand Down
2 changes: 1 addition & 1 deletion ZLPhotoBrowser/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.7.6</string>
<string>2.7.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 28aad89

Please sign in to comment.