Open mcontin opened 7 years ago
I have a same problem too. I couldn't figure out a way to do it properly.
I have a same problem too. I couldn't figure out a way to do it properly.
Same here.. Database and Delegate are configured
Same here. I set height constraint to 0 in viewDidLoad() method. Then changed height to 220 on button tap. Height of view is changing and title is showing, but date cells are not showing.
Anyone know answer to this problem?? I need to change the height of the Calendar dynamically when the iPad changes its orientation to landscape mode. So far everything I have tried makes it really buggy. I tried it with the demo project too. Changing height constraint of FSCalendar using auto layout breaks things.
Do any one got the solution for this?
I set the FSCalendar's constraints to left and top are fixed, width and height are fixed on contain view. And set the constraint's height. It works very well. Thanks.
Masonry works too!
发自我的 iPhone
在 2018年7月4日,下午9:42,loyal15 notifications@github.com 写道:
Hello, I solved this issue. I set the FSCalendar's constrains to left and top are fixed, width and height are fixed on contain view. It works very well. Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I'm trying to modify the calendar's height programmatically by modifying its height constraint programmatically but the calendar won't resize its content. The view's frame is updated correctly because I have other views constrained to the bottom and they move, but the content won't adapt. I have implemented boundingRectWillChange but it's not getting called, I've tried calling .layoutIfNeeded() on both the controller's view and the calendar's but nothing changes.