这是 EKEventEditViewController 的错误吗
I found EKEventEditViewController is not correct in UIInterfaceOrientationPortraitUpside. Try this demo from your site, I just changed code as below, put simulator to UpSide Down Portrait mode, then click "+" button, you will find the screen in flash, this is due to dialog is upside in short time. Then you can try it on device turn to UpSideDown mode, you will see what I am talking:) I want to know why they have different view in Simulator or iPad even if it is not a bug.
I found EKEventEditViewController is not correct in UIInterfaceOrientationPortraitUpside. Try this demo from your site, I just changed code as below, put simulator to UpSide Down Portrait mode, then click "+" button, you will find the screen in flash, this is due to dialog is upside in short time. Then you can try it on device turn to UpSideDown mode, you will see what I am talking:) I want to know why they have different view in Simulator or iPad even if it is not a bug.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基本上,您需要创建自己的继承自 EKEventEditViewController 的类,并在通常使用 EKEventEditViewController 的任何地方使用该类。例如,KonopEventEditViewController。
KonopEventEditViewController.h如下
KonopEventEditViewController.m如下
Basically you would want to Create your own class that inherits from EKEventEditViewController and use that everywhere you would use normally use EKEventEditViewController. For example, KonopEventEditViewController.
KonopEventEditViewController.h is as follows
KonopEventEditViewController.m is as follows