Tapku 日历 添加活动

发布于 2024-12-13 10:45:54 字数 103 浏览 4 评论 0原文

我在我的应用程序中使用 Tapku 库。它对我来说效果很好..但我的观点是如何在日历上的不同事件上添加不同的图像。

提前致谢

I am using Tapku library in my app. It works fine for me.. but my point is How can I add different Images on different Events on Calendar.

Thanks In Advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

Spring初心 2024-12-20 10:45:54

您可以打开包含图像的tapku库捆绑包,并且可以替换图像。

You can open the bundle of tapku library which contains images and you can replace the images.

永不分离 2024-12-20 10:45:54

这些图像位于:“TapkuLibrary.bundle/Images/calendar/Month Calendar Today”,或者您可以将路径指向您自己的图像之一。

 self.selectedImageView.image = [UIImage imageWithContentsOfFile:TKBUNDLE(@"TapkuLibrary.bundle/Images/calendar/Month Calendar Today Selected Tile.png")]; 

The images are found at: "TapkuLibrary.bundle/Images/calendar/Month Calendar Today" or you could make the path point to one of your own images.

 self.selectedImageView.image = [UIImage imageWithContentsOfFile:TKBUNDLE(@"TapkuLibrary.bundle/Images/calendar/Month Calendar Today Selected Tile.png")]; 
洋洋洒洒 2024-12-20 10:45:54

您也可以使用自己的图像,试试这个代码

UIImage *tile = [UIImage imageWithContentsOfFile:TKBUNDLE(@"ownImage.png")];

You can use your own image also, Try this code

UIImage *tile = [UIImage imageWithContentsOfFile:TKBUNDLE(@"ownImage.png")];
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文