Skip to content

Commit

Permalink
[fix] fixed 278
Browse files Browse the repository at this point in the history
  • Loading branch information
indulgeIn committed Jan 10, 2020
1 parent 1665ff2 commit fa03181
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Video/YBIBVideoCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ - (void)yb_videoData:(YBIBVideoData *)data readyForAVAsset:(AVAsset *)asset {
}

- (void)yb_videoData:(YBIBVideoData *)data readyForThumbImage:(UIImage *)image {
if (!self.videoView.isPlaying && !self.videoView.isPreparingPlay) {
if (!self.videoView.isPlaying) {
self.videoView.thumbImageView.hidden = NO;
}

Expand Down
2 changes: 0 additions & 2 deletions Video/YBIBVideoView.m
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ - (void)hidePlayButton {
#pragma mark - private

- (void)videoJumpWithScale:(float)scale {
if (!self.isPlaying) return;

CMTime startTime = CMTimeMakeWithSeconds(scale, _player.currentTime.timescale);
AVPlayer *tmpPlayer = _player;

Expand Down
2 changes: 1 addition & 1 deletion YBImageBrowser.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |s|

s.name = "YBImageBrowser"

s.version = "3.0.8"
s.version = "3.0.9"

s.summary = "iOS image browser / iOS 图片浏览器"

Expand Down
4 changes: 2 additions & 2 deletions YBImageBrowserDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = yangbo.YBImageBrowserDemo1;
PRODUCT_BUNDLE_IDENTIFIER = yangbo.YBImageBrowserDemo2;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand All @@ -995,7 +995,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = yangbo.YBImageBrowserDemo1;
PRODUCT_BUNDLE_IDENTIFIER = yangbo.YBImageBrowserDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
8 changes: 4 additions & 4 deletions YBImageBrowserDemo/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LSApplicationCategoryType</key>
<string></string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
Expand All @@ -24,6 +20,8 @@
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down Expand Up @@ -57,5 +55,7 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>

0 comments on commit fa03181

Please sign in to comment.