4

enter image description here

I'm trying to do the effect shown above in my app, but am unsure what the best practices are. The effect I want is the curled bottom corners of the outer picture frame.

Is it better to:

  1. use a page curling library like: XBPageCurl
  2. use images
  3. use some other effect
whisperstream
  • 1,897
  • 3
  • 20
  • 25
  • 1
    This is not exactly curl. For that effect you should probably use Arc/Path drawing with shadow. – Jakub Dec 19 '12 at 17:59

2 Answers2

2

See Curled View Category for iOS: http://www.cocoacontrols.com/controls/curledviews-category

Scott Ahten
  • 1,141
  • 7
  • 15
1

You can use shadow images just like these.

Samet DEDE
  • 1,621
  • 19
  • 28
  • 1
    I agree, if you just want a "shadow" affect as shown, it's probably best just to use an image. If you're doing this on images created say from a photo taken by the user, you might look into programmatic solutions (perhaps using `QuartzCore`? See http://stackoverflow.com/questions/2044479/what-is-the-best-way-to-create-a-shadow-behind-a-uiimageview )... but there will be a memory and computation cost for this, so use sparingly... – JRG-Developer Dec 20 '12 at 00:09
  • You can stretch shadow image to fit dynamic image. In any case, if you were not using shadow images, you should limit minimum and maximum image size. So shadow will fit that limited sized image. – Samet DEDE Dec 20 '12 at 12:58