如何从此viewcontroller重新创建或继承

时间:2022-03-22 13:57:51

This is shown when you try to create an event on iphone: http://postimage.org/image/mlx00ycwr/

当您尝试在iphone上创建活动时会显示:http://postimage.org/image/mlx00ycwr/

I want the exact same features like seen on the picture above to be used for something else.

我想要像上面图片中看到的完全相同的功能用于其他东西。

Can I for example inherit this viewcontroller or something to that affect?, so that I don't have to recreate it all I mean.

我可以继承这个viewcontroller或者那些影响的东西吗?所以我不必重新创建它我的意思。

Thank you for your time!

感谢您的时间!

2 个解决方案

#1


1  

Sorry to say that (in general) if you want to duplicate another app's functionality in your own app, you're going to have to either create it yourself or find some library or open source framework that does it for you.

很抱歉,如果你想在自己的应用程序中复制另一个应用程序的功能(通常),你将不得不自己创建它或者找一些为你做这个的库或开源框架。

That said, this appears to be an event you're trying to add. I think you might be able to pick up some of this functionality in EventKit. There are other questions (like this one) here on * that you can look up that should be able to help you out.

也就是说,这似乎是您要添加的事件。我想你可以在EventKit中获得一些这样的功能。 *上还有其他一些问题(比如这一个),您可以查看它们应该能够帮助您。

#2


1  

You have to recreate the whole UI and use the EventKit framework to manipulate the User's Calendar database.

您必须重新创建整个UI并使用EventKit框架来操作用户的日历数据库。

#1


1  

Sorry to say that (in general) if you want to duplicate another app's functionality in your own app, you're going to have to either create it yourself or find some library or open source framework that does it for you.

很抱歉,如果你想在自己的应用程序中复制另一个应用程序的功能(通常),你将不得不自己创建它或者找一些为你做这个的库或开源框架。

That said, this appears to be an event you're trying to add. I think you might be able to pick up some of this functionality in EventKit. There are other questions (like this one) here on * that you can look up that should be able to help you out.

也就是说,这似乎是您要添加的事件。我想你可以在EventKit中获得一些这样的功能。 *上还有其他一些问题(比如这一个),您可以查看它们应该能够帮助您。

#2


1  

You have to recreate the whole UI and use the EventKit framework to manipulate the User's Calendar database.

您必须重新创建整个UI并使用EventKit框架来操作用户的日历数据库。