Layout weekly not correct on the iPad
(Required) Version Number: 8.0.2
I used the JTAppleCalendar for my iPhone app. I need a weekly view, nothing more.
Now that I'm developing the iPad version of the same app, I'm taking advantage of the same class I have on the iPhone with the same features, just enhancing the layout with a second storyboard. I simply reproduce what I have on Main.storyboard on the Main_iPad.storyboard version, reading the same classes with the same functions but arranging the objects differently.
If the same weekly collection in the iPhone storyboard works correctly (I attach image), if I set the contraist of its size on the iPad storyboard, it does not behave correctly. If I change orientation, even worse. I just want it to show 7 days and for the cells to change their width to fit the width of the superview, like a simple collection.
Steps To Reproduce
Expected Behavior
Additional Context
is your calendar fully setup with constraints with zero errors?
Yes, no errors. On iPhone works well, on iPad I don't know why there is this problem. If I don't modify the weight of the collection, and I maintain the same dimension of iPhone collection, it works well.
hmm.. you have to give me a minimal project example that replicates this issue. emphasis on minimal.
UPDATE: Now I have some warnings!
OK.
- What xcode version are you using?
- What about the last error, is it still there?
- Xcode Version 12.5.1 (12E507)
- Yes, I can't correct this issue. There is another problem, when I change the orientation, the collection view update the layout, but the cell inside not
