简体   繁体   English

在iPhone中移动对象?

[英]Move the object in iPhone?

I want to ask a question about the iPhone application. 我想问一个关于iPhone应用程序的问题。 I am going to write a application, and the application can let the users to move the list or folder just like you move the app in the home page in iPhone. 我将要编写一个应用程序,该应用程序可以让用户移动列表或文件夹,就像您在iPhone主页中移动该应用程序一样。 Is it possible to do it? 有可能做到吗? Thank you. 谢谢。

It is possible to move stuff like moving the app in the home page. 可以移动内容,例如在主页中移动应用程序。 It can be hard but it is possible. 这可能很难,但有可能。 You need to handle all the touch events inside your view controller and then decide to move stuff. 您需要处理视图控制器内部的所有touch事件,然后决定移动东西。 There is no built-in ViewController for doing that for you. 没有内置的ViewController可以为您完成此操作。

Everything is possible. 一切皆有可能。 So the answer to your question is: Yes. 因此,您的问题的答案是:是的。

But I don't think that's what you wanted to know - there's no convenient or existing way to implement something like this, you would have to do it all by yourself. 但是我不认为这就是您想知道的-没有方便或现有的方法来实现这样的事情,您必须自己做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM