问题
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
回答1:
You can open the bundle of tapku library which contains images and you can replace the images.
回答2:
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")];
回答3:
You can use your own image also, Try this code
UIImage *tile = [UIImage imageWithContentsOfFile:TKBUNDLE(@"ownImage.png")];
来源:https://stackoverflow.com/questions/8000871/tapku-calendar-add-events