title: Unable to apply Shadow on all the sides of collectionView Cell
body: <p><a href="https://i.stack.imgur.com/31k2f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/31k2f.png" alt="Screenshot"></a></p>
  
  <p>I am trying to make drop shadow of all the sides but it is just applicable on Bottom and right side. Any idea what i am missing?
  This is my code</p>
  
  <pre><code>    cell.layer.shadowColor = [UIColor lightGrayColor].CGColor;
      cell.layer.shadowOffset = CGSizeMake(2.5f, 2.5f);
      cell.layer.shadowRadius = 3.0f;
      cell.layer.shadowOpacity = 0.5f;
      cell.layer.masksToBounds = NO;
  </code></pre>