WenchaoD / FSCalendar

A fully customizable iOS calendar library, compatible with Objective-C and Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto Rotation layout issues

iPermanent opened this issue · comments

commented

如果在使用过程中遇到问题,请提供以下信息以便于尽快将问题修复

  • 简单描述一下问题。
    切换横竖屏时内部元素未自动排列
  • 使用cocoapods集成
  • 能够重现此问题的完整步骤。
    竖屏下显示此日历版本,旋转成横屏,宽度正常但是高度会变小导致显示不全
  • 设备型号及版本。
    iPhone 13 pro 16.5.1
  • 使用的Xcode版本。 Xcode14.3.1
  • FSCalendar版本. `2.8.4
RPReplay_Final1688715345.MP4

以上是问题的录屏,稍后我上传个demo

commented

STCalendarTest.zip
以上是demo 待控件出来后旋转一下屏幕即可复现

pull request
If a contributor does not merge the pull request then just checkout this fork and update your podfile to use local path:

pod 'FSCalendar', :path => '../FSCalendar'

commented

pull request If a contributor does not merge the pull request then just checkout this fork and update your podfile to use local path:

pod 'FSCalendar', :path => '../FSCalendar'

OK I will have a try, thanks

commented

pull request If a contributor does not merge the pull request then just checkout this fork and update your podfile to use local path:

pod 'FSCalendar', :path => '../FSCalendar'

However, when I modify the code as your commit in fscalendar.m, the issues not fixed, change a strange look

Ah sorry. I wasnt sure if your issue was same, but thought worth for your try. I pasted the pull request on some more issue threads too. Sorry

commented

Thank you all the same, seems nobody care about this project issues now, maybe I can fix it when I am free. Your pull request reminds me something about this issue