开发者

Three20 TTPhotoViewController detailedView photo overlap problem

开发者 https://www.devze.com 2023-01-07 08:54 出处:网络
In my application, I\'m using three20 library\'s photoViewController. The photos in photo detaildview are overlapping. Specifically, if there are three photos, 1st and 3rd开发者_开发百科 look fine, bu

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

Can anybody please help?

Thanx in advance.


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

It should be self.contentMode = UIViewContentModeScaleAspectFit;


Change to YES this:

self.clipsToBounds = YES;

file TTPhotoView.m line 63

0

精彩评论

暂无评论...
验证码 换一张
取 消