Skip to content
ChrisRM edited this page Feb 8, 2013 · 2 revisions

I receive alot of questions regarding the module pr. email, and thought I'd post some of them here, for others to see.

Is it possible to remove the right arrow of the list of event ?
Yes, comment out the following line from both SQLDataSource.m(line 122) and EventKitDataSource.m(line 77): cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

Now edit these lines in the same files:
time_start = [[UILabel alloc] initWithFrame:CGRectMake(27.0, 5.0, 35.0, 15.0)]; time_end = [[UILabel alloc] initWithFrame:CGRectMake(27.0, 20.0, 35.0, 25.0)];

Should look like this:
time_start = [[UILabel alloc] initWithFrame:CGRectMake(10.0, 5.0, 35.0, 15.0)]; time_end = [[UILabel alloc] initWithFrame:CGRectMake(10.0, 20.0, 35.0, 25.0)];

It is possible to test whether the application has access to the calendar (eventkit) before adding an event (Calendar.addEvent) ?
Yes, added in 1.2.8. Read updated README
Ti.Calendar.hasCalendarAccess

Table of contents

Clone this wiki locally