Vurig-Calendar
Vurig-Calendar copied to clipboard
Is possible to insert an image?
Hi, first of all, thanks for this amazing calendar. I would like to ask you, if is possible to insert an image inside of a day cell?
Thanks in advance!
You're welcome.
Nope sorry, then it would be called complex calendar ;) But you can add it yourself if you look at the drawrect method.
I did it, thank you!
Hi acaserop,
How is you did this? Would be interest to know
thanks
Hi, just play with this lines of code inside of drawRect method:
UIImage * yourImage = [UIImage imagedNamed:xxx.png]; [yourImage drawInRect: rectangleGrid]
RectangleGrid is already defined.
I hope this help you
thx - very helpful
Hi,
would you be able to elaborate more, i've tried adding an image but it just puts it in front of the whole calendar.
hello, i am new in ios development and i want to ask if possible to use the built in iphone calendar insted of using this??? and if not please explain to me more about how to use this calendar? i tried to copy files but i think i but them in wrong place or even i choose wrong files to add,, help please
UIImage * yourImage = [UIImage imageNamed:@"LBracket.png"]; [yourImage drawInRect:CGRectMake(targetX-9, targetY+1, 20, kVRGCalendarViewDayHeight)];