Rahul Shirphule
Rahul Shirphule

Reputation: 999

Autoresize not working in Storyboard App

This is very new for me.. there is Custom calendar library DSLCalendarView on Github, the problem is that when I try to use it in My storyboard app then it is not resize view for iPhone 6 and plus But strangely when I'm running demo of downloaded Github App then it is actually Fit to screen size for iPhone 6 and plus size phone.

I used there files as it is in my project..But not sure what goes wrong ? I also did use that customView in xib Controller rather than storyboard But same issue appears.

following autoresize mask i add to the view which is exactly same as in there demo app

above autoresize mask i add to the view which is exactly same as in there demo app Okay I'm adding screenshot to explain my problem

This is screen shot of Github downloaded project in iPhone 6 simulator

This is screen shot of Github downloaded project in iPhone 6 simulator

and this is for my project screenshot in which it is resize the view

and this is for my project screenshot in which it is resize the view

Upvotes: 0

Views: 642

Answers (2)

Rahul Shirphule
Rahul Shirphule

Reputation: 999

Just linking the answer .. As I got it from Github forum DSLCalendarView issues

Upvotes: -1

Ram Vadranam
Ram Vadranam

Reputation: 485

Try this in ViewDidLoad

dlCalanderView.autoresizingMask = UIViewAutoresizing.FlexibleWidth

Upvotes: 0

Related Questions