mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
readme
This commit is contained in:
parent
4859add77f
commit
921f45f0bd
1 changed files with 18 additions and 0 deletions
18
README.md
Normal file
18
README.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# 胶囊日记 App
|
||||
|
||||
## 已知问题
|
||||
|
||||
### iOS 上的问题
|
||||
1. image picker 在与 ReactNativeNavigation 共存时,会导致 image picker 在选择照片时不自动滚动到视图底部
|
||||
(底部的照片是最近的照片),可以通过修改 image picker 源码解决
|
||||
|
||||
文件 node_modules/react-native-image-crop-picker/ios/QBImagePicker/QBImagePicker/QBAssetsViewController.m
|
||||
107 行
|
||||
```
|
||||
// Scroll to bottom
|
||||
- if (self.fetchResult.count > 0 && self.isMovingToParentViewController && !self.disableScrollToBottom) {
|
||||
+ if (self.fetchResult.count > 0 && !self.disableScrollToBottom) {
|
||||
NSIndexPath *indexPath = [NSIndexPath indexPathForItem:(self.fetchResult.count - 1) inSection:0];
|
||||
[self.collectionView scrollToItemAtIndexPath:indexPath atScrollPosition:UICollectionViewScrollPositionTop animated:NO];
|
||||
}
|
||||
```
|
Loading…
Reference in a new issue