के साथ गायब हो रहा है I UICollectionViewLayout
subclassed। अब तक सब ठीक है.
हालांकि, मेरे पास कुछ सेल हैं जो स्क्रीन से व्यापक हैं, और कभी-कभी स्क्रॉल करते समय ये गायब हो जाते हैं। जब आप कुछ और स्क्रॉल करते हैं, तो वे जादुई रूप से फिर से दिखाई देते हैं जहां वे होना चाहिए। मैं आपको अपना कोड दिखा सकता हूं, हालांकि मुझे लगता है कि इसमें कुछ भी गलत नहीं है क्योंकि यह 90% मामलों में काम करता है .. हालांकि, वास्तव में बड़ी कोशिकाएं (स्क्रीन आकार से दो गुना अधिक बार) गायब हो जाती हैं। UICollectionView's cell disappearing और Large cells in a UICollectionView getting removed while the cell is still displayed हालांकि, एक समाधान का उल्लेख नहीं है:बड़े UICollectionViewCell कस्टम लेआउट
NSMutableArray* attributes = [NSMutableArray array];
for (int section=0; section < [[self collectionView] numberOfSections]; section++) {
[attributes addObject:[self layoutAttributesForSupplementaryViewOfKind:UICollectionElementKindSectionHeader atIndexPath:[NSIndexPath indexPathForItem:0 inSection:section]]];
for (int row=0; row < [[self collectionView] numberOfItemsInSection:section]; row++) {
NSIndexPath* indexPath = [NSIndexPath indexPathForItem:row inSection:section];
[attributes addObject:[self layoutAttributesForItemAtIndexPath:indexPath]];
}
}
return attributes;
मैं भी इन पदों है। क्या कोई मेरी इसके साथ मदद कर सकता है? क्या ऐप्पल की तरफ समस्या हो सकती है? और यदि ऐसा है, तो क्या मैं इसे हल करने के लिए कुछ भी कर सकता हूं?
क्या आपने वापस सुना है हस्तक्षेप करने का समय? –