Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
你好,关于TZImagePickerController的部分UI并没有做RTL布局的适配,我为此做出了以下补全:
1.TZPhotoPickerController
2.TZPhotoPreviewController
3.TZVideoPlayerController
4.TZVideoCropController
5.TZVideoEditedPreviewController
6.TZGifPhotoPreviewController
主要是导航栏和底部工具栏的镜像布局。
另外需要说明的是,UICollectionView的RTL布局在水平方向是从右到左排序的,并且使用普通的UICollectionViewFlowLayout的话,cell虽然是从右到左排列的,但是contentOffset依旧是从左到右的。为此TZPhotoPickerController和TZPhotoPreviewController部分我都处理好了,但是TZVideoCropController的视频裁剪区我并没有做RTL适配,主要是因为你的裁剪框已经固定了从左边开始算起,我只好在RTL环境下让视频裁剪区还是固定LTR布局了😅。
如果你觉得没问题的话,可以合并一下😁。