No video only when downloaded from App Store

Asked 2 years ago, Updated 2 years ago, 85 views

After releasing the app into the App Store, download the app from the production store.Then, some of the images in the application are not displayed correctly and the loading image (Activity Indicator) is displayed continuously. When I built it when I archived it, it looked good. ( Apple passed the examination without any problems.)

I'm having a hard time thinking about what happens only when I download it from the store.

I would appreciate it if you could give me some advice.

■Environment used

  • XCode 6.1.1
  • Objective-C

■Characteristics of the affected areas

  • There is a UI to list a picture
  • Use the collection view to arrange images in tiles
  • Get the URL of the list by tapping the API for the images lined up in tiles
  • Display the image as an imageView inside the collection view based on the URL obtained

■View Configuration

  • Place cells in the collectionView
  • Place ImageView underneath the cell
  • Use SDWebImage when viewing

Implementation looks like this

[imageView setImageWithURL:imageURL placeholderImage:nil options:SDWebImageCacheMemoryOnly completed:^(UIImage*image,NSError*error,SDIimageCacheTypecacheType){
    [UIView transitionWithView: weakImageView duration: 0.4 options:UIViewAnimationOptionTransitionCrossDissolve |UIViewAnimationOptionCurveLiner |UIViewAnimationOptionAllowUserInteraction animations:nil completion:nil];
}];

I put duration:0.4 in order.

Tap the tile image to view the thumbnail image in detail on the Navigation Controller. There is a loading image (Activity Indicator) in the background of the images listed, and the loading image will be displayed by the time the image is displayed.

■Supplement

I verified it on the following three terminals, but they were all in the same situation. iPhone 6,6+, iPhone 5S (all iOS 8.1 and above) However, only iPhone 4S (iOS 7.0.2) was displayed without any problems.

ios objective-c xcode6

2022-09-30 17:12

1 Answers

First of all, I want to improve the reproducibility.
"Only post-release apps" is a little hard to think about, so
Try the product you built (not Debug) with,
Or why don't you use AdHoc to run it on a real machine?

I think it will be much easier to identify the cause if you reproduce it according to that procedure.


2022-09-30 17:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.