hyperoslo / Gallery

📹 Your next favorite image and video picker
Other
1.42k stars 273 forks source link

Repeatedly rotate the phone on camera view leads to crash. #175

Closed 150vb closed 4 years ago

150vb commented 4 years ago

Use this page configuration: Config.tabsToShow = [.imageTab, .cameraTab]

When I open the camera page with my iPhone(iPhone XR or iPhone 11 Pro) and do continuous rotate, it causes crash. It seem that PagesController`s UIScrollViewDelegate extension case Index out of range

3lvis commented 4 years ago

Hi @150vb, thanks for pointing this issue, unfortunately we don't have someone to follow up on this project at the moment if you or someone want to give it a go at fixing this issue I'm happy to assist.

3lvis commented 4 years ago

Should be fixed now, let me know if it's still an issue

150vb commented 4 years ago

Should be fixed now, let me know if it's still an issue

Thank you for your response. I rename the branch and forget to push again, haha

3lvis commented 4 years ago

Hahaa, thanks!