2

In my application, I'm using three20 library's photoViewController. The photos in photo detailedview are overlapping. Specifically, if there are three photos, 1st and 3rd look fine, but 2nd photo is overlapped by 1st.

How can I solve this?

halfer
  • 19,824
  • 17
  • 99
  • 186
neha
  • 6,327
  • 12
  • 46
  • 78

2 Answers2

4

Line 135 of TTPhotoView.m is self.contentMode = UIViewContentModeScaleAspectFill;

It should be self.contentMode = UIViewContentModeScaleAspectFit;

kwigbo
  • 112
  • 4
2

Change to YES this:

self.clipsToBounds = YES;

file TTPhotoView.m line 63

yukhDev
  • 21
  • 2