SimpleEKDemo Example with allowsEditing = YES but show only “Done” button in iPad

The SimpleEKDemo example is delivered with "Targeted Device Family = iPhone" in the Build tag of Project Settings. It works for both iPhone and iPad, the "Edit" barButton showed in the EKEventViewController.

However, if I changed the "Targeted Device Family" to either "iPad" or "iPhone/Ipad", it is still working in iPhone simulator and device, but not the iPad simulator or device. No matter the allowsEditing is configured to YES or NO, the EKEventViewController will show "Done" barButton instead of "Edit" in the iPad simulator or device.

I deployed the EventKit framework to my own project and the Kal NativeCal Example and had the same issue.

I searched apple development forum and internet but no information on this issue.

If you had the same issue before or have any suggestion, please help.


BTW, a few development environment information for reference:

  1. Mac OS 10.6.5
  2. Xcode 3.2.5
  3. Project Base SDK: 4.2
  4. Project iOS Deployment Target: 4.2


Just found the answer from

The modalInPopover must be configured as NO. For example:

eventViewController.modalInPopover = NO;

Need Your Help

Jquery Hide Show ScrollTop

javascript jquery html animation mousehover

i am looking for a way to show the children of my div when i scroll down .

why there a .lock-wscript file after I run node-waf build

c++ node.js waf

after I run node-waf configure and node-waf build, a .lock-wscript show in my folder, what's this? even I run node-waf clean, it still there. shall I keep it or remove it?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.