【DoKit生态场景】-描述出现的问题

オープン
#1,214 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@jtsky がすでに取り組んでいます。

2025年12月3日 から。

評価

この issue はまだ評価されていません。

説明

iOS Crash问题:
集成最新版本SDK后在如下行出现crash:
DoraemonHomeCloseCell *closeCell = [collectionView dequeueReusableCellWithReuseIdentifier:DoraemonHomeCloseCellID forIndexPath: indexPath]; return closeCell;

崩溃日志:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <DoraemonHomeCell: 0x12e4d4780; baseClass = UICollectionViewCell; frame = (0 1051.5; 414 55.2); backgroundColor = <UIDynamicSystemColor: 0x114436000; name = systemBackgroundColor>; layer = <CALayer: 0x11d3be1a0>>; Collection view: <UICollectionView: 0x11d3d0000; frame = (0 0; 414 896); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x11d3c95c0>; backgroundColor = <UIDynamicSystemColor: 0x114436000; name = systemBackgroundColor>; layer = <CALayer: 0x11d3bd1e0>; contentOffset: {0, 45}; contentSize: {414, 1150.6239999999998}; adjustedContentInset: {92, 0, 34, 0}; layout: <UICollectionViewFlowLayout: 0x1144e8a00>; dataSource: <DoraemonHomeViewController: 0x11d1aa000>>'

主要言語
Java
スター
20.4k
フォーク
3.2k
平均マージ
43分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

didi/DoKit のほかの issue

didi/DoKit の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。