问题描述
我们在 ionic iPad 应用程序上使用了 Cordova/电容器平台.我们使用以下链接为 iPad 13 启用了拆分视图 https://en.gg/enable-ipad-split-screen-feature-in-an-ionic-or-cordova-app/它工作正常.
We have on ionic iPad app, using cordova / capacitor platform. We enabled the split view for iPad 13 using following link https://en.gg/enable-ipad-split-screen-feature-in-an-ionic-or-cordova-app/its working fine.
我们正在检查是否支持拖放功能,例如https://support.apple.com/library/content/dam/edam/applecare/images/en_US/iOS/ios13-ipad-pro-multitasking-drag-drop-animation.gif
We are checking to give support for drag and drop feature likehttps://support.apple.com/library/content/dam/edam/applecare/images/en_US/iOS/ios13-ipad-pro-multitasking-drag-drop-animation.gif
我们只想单独接收端,这里我们的问题是如何在科尔多瓦/电容器应用中实现这一目标
We just want to receiver end alone, here our question how we achieve this in cordova / capacitor application
在检查本机文档时,我们需要启用视图作为应用程序的放置目标,我们如何为 ionic 应用程序做到这一点https://developer.apple.com/documentation/uikit/drag_and_drop/making_a_view_into_a_drop_destination
When checking the native document, we need to enable view as drop destination for application, how we did this for ionic apphttps://developer.apple.com/documentation/uikit/drag_and_drop/making_a_view_into_a_drop_destination
推荐答案
终于找到了适合我的情况的解决方案
Finally found the solution for my case
用于启用 splitView 和多任务到自定义视图(UKWebView)拖放交互
For enable splitView and multitask to custom view(UKWebView) drag and drop interaction
提供完整的源代码和文档http://blogs.specialapps.in/SplitView_MultiTasking
Full Source and Document availablehttp://blogs.specialapps.in/SplitView_MultiTasking
这篇关于启用 SplitView 和 MultiTask iPad 混合应用程序.丢弃交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!