2011-11-03 54 views
2

我在我的应用中使用了Tapku library。它工作正常的我。但我的观点是How can I add different Images on different Events on Calendar.Tapku calendar添加活动

在此先感谢

回答

4

您可以打开包含图像tapku库的包,你可以替换图像。

+0

你说的那个地方https://github.com/JPluto/tapkulibrary/tree/master/src/TapkuLibrary.bundle/图片/日历 –

2

可在以下位置找到图像:“TapkuLibrary.bundle/Images/calendar/Month Calendar Today”或者您可以将路径指向您自己的某个图像。

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

您可以使用自己的形象也,试试这个代码

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