Reputation: 999
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.
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
and this is for my project screenshot in which it is resize the view
Upvotes: 0
Views: 642
Reputation: 999
Just linking the answer .. As I got it from Github forum DSLCalendarView issues
Upvotes: -1
Reputation: 485
Try this in ViewDidLoad
dlCalanderView.autoresizingMask = UIViewAutoresizing.FlexibleWidth
Upvotes: 0