問題タブ [human-interface]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
3 に答える
2657 参照

ios - Swift - 複数のアイテムを連続して表示するUICollectionView

私はiOSとSwiftの両方が初めてです。コレクション ビューを作成しましたが、正常に動作しますが、複数のアイテムを 1 行に表示したいと考えています。試しましたが、うまくいきません。誰かが私を助けることができますか?前もって感謝します。

これは私のコードです:

ダッシュボードコレクションVC

このように見えます

ここに画像の説明を入力

ContainerView の設計

ここに画像の説明を入力

2つのアイテムを並べて表示したい。どうすればそれを達成できますか?