AGImagePickerController icon indicating copy to clipboard operation
AGImagePickerController copied to clipboard

No thumnails are shown on iOS7

Open drd27 opened this issue 11 years ago • 22 comments

When building your demo implementation - either using Xcode 4.6.x SDK 6.1 or Xcode 5 SDK 7 - and deploying to a development device running iOS7, no thumbnails are shown -> nothing can be picked.

drd27 avatar Jun 30 '13 11:06 drd27

Take a look at a working fix: https://github.com/mokten/AGImagePickerController

I removed most of the synchronized cause I thought not needed.

mokten avatar Jul 15 '13 11:07 mokten

Hi Thanks for looking into that. Will take a look when I return from holiday next week

On 15 jul. 2013, at 13:15, "Mokten" [email protected] wrote:

Take a look at a working fix: https://github.com/mokten/AGImagePickerController

I removed most of the synchronized cause I thought not needed.

— Reply to this email directly or view it on GitHub.

drd27 avatar Jul 15 '13 11:07 drd27

Hi, that works perfectly. Thanks!

On 15 Jul 2013, at 13:15 , Mokten [email protected] wrote:

Take a look at a working fix: https://github.com/mokten/AGImagePickerController

I removed most of the synchronized cause I thought not needed.

— Reply to this email directly or view it on GitHub.

drd27 avatar Jul 19 '13 09:07 drd27

Hi - thanks for this, the iOS7 fix brings the thumbnails back - however, it adds an extra blank one after the real thumbnails, if you select this one when choosing some assets, it will obviously result in a crash as it's not a real image... Tried to find the cause myself but came up empty handed....

See attached image for illustration....

screen shot 2013-07-25 at 8 27 15 pm

VeeYarr avatar Jul 26 '13 00:07 VeeYarr

Hi. thanks for the iOS 7 fixes. I also faced same problem stated by StayHungryApps above.

usman-whizpool avatar Jul 26 '13 10:07 usman-whizpool

Same problem with iOS 7 beta 4 - anyone have any suggestions for fixing the "ghost" thumbnail?

VeeYarr avatar Aug 04 '13 18:08 VeeYarr

Still an issue with iOS 7 beta 5, pretty sure they are close to a GM now, are we likely to get this fixed? Mokten was so close to having nailed this....

VeeYarr avatar Aug 08 '13 00:08 VeeYarr

Hello, thank for your works about ios7 fix but don't show toolbar for "select-all" or "deselect-all".

I test any solution but i don't found fix for it.

Can you help me please?

zoelounge avatar Aug 10 '13 16:08 zoelounge

Looks like we're not going to get this resolved for iOS 7 which is probably less than a month away now - both the ghost thumbnail and the missing select/deselect all issues remain....

Anyone know of any other similar components that can replace this and drop in instead?

VeeYarr avatar Aug 19 '13 00:08 VeeYarr

I'll fix that, but only after the next beta is released.

arturgrigor avatar Aug 19 '13 00:08 arturgrigor

Thanks! I think the GM must be close, only issues I'm seeing now in latest beta are some funky rotation problems....

VeeYarr avatar Aug 19 '13 00:08 VeeYarr

I know that the right thing is to wait for official fix, but I needed this working for testing before next release.

I Applied mokten fix, and avoided the ghost cell adding on AGIPCAssetsController.m line 268:

        // iOS 7 returns a nil result at the end.
        if (!result) return;

https://github.com/mokten/AGImagePickerController/blob/bb4213aaae77867efe6829411d33fbd7b9d212bf/AGImagePickerController/AGIPCAssetsController.m#L268

For some reason 'enumerateAssetsUsingBlock:' is passing a nil result at the end with a NSIntegerMax value for index.

Not sure if this will still be valid for next release, but I hope it helps.

capitangolo avatar Sep 06 '13 11:09 capitangolo

capitangolo - your fix works great - thanks very much!!

VeeYarr avatar Sep 07 '13 15:09 VeeYarr

Thanks so much for your fix, capitangolo, but the missing of tool bar is still remained with ios 7 beta 6. Is there any advice on how to fix it ?

Huan-FENG avatar Sep 13 '13 06:09 Huan-FENG

Actually, there's no toolbar with ios 6.0 either.

Huan-FENG avatar Sep 13 '13 06:09 Huan-FENG

Hi. I created the fix that avoiding the "missing of tool bar" and "ghost thumbnail". ( The diff is just few lines from Release 2.0.1. ) https://github.com/nori0620/AGImagePickerController/commit/decb762ad6c9775f8766d3bc5b81c2f8fdaa9ecd

It looks work fine. But I'm not sure if this fix is proper. So in non-emergency case, maybe you should waiting for official fix.

nori0620 avatar Sep 13 '13 11:09 nori0620

thanks so much. I'll try that when I'm back from holiday. ^^_

发自我的 iPhone

在 2013-9-13,19:29,Norihiro Sakamoto [email protected] 写道:

Hi. I fixed that avoiding the "missing of tool bar" and "ghost thumbnail". ( The diff is just few lines from Release 2.0.1. ) nori0620@decb762

It looks work fine. But I'm not sure if this fix is proper. So in non-emergency case, maybe you should waiting for official fix.

— Reply to this email directly or view it on GitHub.

Huan-FENG avatar Sep 15 '13 04:09 Huan-FENG

thank you so much! it works fine!

在 2013-9-13,下午7:29, Norihiro Sakamoto 写道:

Hi. I fixed that avoiding the "missing of tool bar" and "ghost thumbnail". ( The diff is just few lines from Release 2.0.1. ) nori0620@decb762

It looks work fine. But I'm not sure if this fix is proper. So in non-emergency case, maybe you should waiting for official fix.

— Reply to this email directly or view it on GitHub.

Huan-FENG avatar Sep 16 '13 07:09 Huan-FENG

No thumnails are shown on iOS7!!!!! please fix it and support an release, thx ~

uunc avatar Sep 22 '13 07:09 uunc

nori's fix works alright but it will no longer remember how many where selected at the top (4/10) it starts over at 0 even if pictures are selected. Any idea how to fix this?

carterminearIMT avatar Sep 23 '13 17:09 carterminearIMT

hi, thank for you fix the bug of ios7 ,but how i can hidden such as "1/6" on the StatusBar?

yanzhiwei147 avatar Sep 27 '13 11:09 yanzhiwei147

What a hoofing life-saver. Thanks for this.

cmhine avatar Oct 14 '13 12:10 cmhine