thiagoperes / IDMPhotoBrowser

Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC support, swipe-to-dismiss, image progress and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IDMCaptionView size

rogomantik opened this issue · comments

10000 seems too big

  • (void)setBackground {

UIView *fadeView = [[UIView alloc] initWithFrame:CGRectMake(0, -100, 10000, 130+100)]; // Static width, autoresizingMask is not working
to
UIView *fadeView = [[UIView alloc] initWithFrame:CGRectMake(0, -100, [[UIScreen mainScreen] bounds].size.width, 130+100)];