Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Xcode 4.2 上将Kal日历组件用于休假管理应用程序。我正在为 iPad 开发应用程序。
我正在突出显示From Date,To Date当用户在特定月份申请休假时,使用点击磁贴方法并设置该磁贴的背景颜色。
From Date
To Date
它工作正常,唯一的问题是,当我从一个月导航到另一个月并返回上个月时,该月突出显示的叶子不会显示在日历上。
简而言之,在几个月之间导航时,各个图块的突出显示颜色会丢失。即使我导航到不同的月份并返回原始颜色,我也希望瓷砖的颜色保持不变。
我该如何解决这个问题?