title: which approch to follow for implementing UICollectionView?ios
body: <p>In my requirement I am using <code>UICollectionView</code> in which I am showing <code>UIImageView</code>,<code>UILabel</code>,<code>UITextView</code>.
  What I have to do when there is no image in my cell I have to shift the <code>label</code> &amp; <code>text</code> sightly upwards.</p>
  
  <p>I am passing <code>nil</code> in <code>imageArray</code> and applying condition <code>if(imageView.image==nil){ //  shift label upward  }</code>
  but this is shifting all label to upward .
  What to do?
  Which approach should I follow?</p>