nohana / NohanaImagePicker

A multiple image picker for iOS app.
Apache License 2.0
224 stars 57 forks source link

Changed UI by kind of permission to access camera roll #145

Closed Noodlekim closed 2 years ago

Noodlekim commented 2 years ago

We changed UI on the camera roll. The UI will be adjusted by permission to access the camera roll.

tyokujin commented 2 years ago

@Noodlekim

Please check indexPath logic in AssetListSelectableDateSectionController.

Exist problems.

tyokujin commented 2 years ago

Delegate function argument indexPath is expected indexPath that ignore PhotoAuthorizationLimitedCell. So, please fix section in IndexPath. https://github.com/nohana/NohanaImagePicker/blob/8afd916d82d6ac552eb1d81e7d930016d099d462/NohanaImagePicker/AssetListSelectableDateSectionController.swift#L153

tyokujin commented 2 years ago

dateSectionList and indexPath was not synchronize. Please set dateSectionList[indexPath.section - 1].

https://github.com/nohana/NohanaImagePicker/blob/8afd916d82d6ac552eb1d81e7d930016d099d462/NohanaImagePicker/AssetListSelectableDateSectionController.swift#L315