开发者

Drag and Drop from a UIPopoverController to UIViewController

开发者 https://www.devze.com 2023-03-19 09:42 出处:网络
Anyone please elaborate the concept of drag n drop a uiview object from a UIPopoverController to an underlying UIViewController. This feature is implemented in the \'Keynote\' app from the Apple开发者

Anyone please elaborate the concept of drag n drop a uiview object from a UIPopoverController to an underlying UIViewController. This feature is implemented in the 'Keynote' app from the Apple开发者_开发知识库. I read the old thread but with this approach my panning stops as soon as I dismiss my popover!


finally it works for me.... I took a UIWindow and added as soon as user starts panning in the UIPopoverController I'm adding the dragged view to the new UIWindow. Later with the panning I'm panning the UIWindow rather than moving the view which was added to the UIWindow.

0

精彩评论

暂无评论...
验证码 换一张
取 消