WebView中的Flash视频不能在沙盒应用中使用 [英] Flash videos in WebView not working in sandboxed app

查看:262
本文介绍了WebView中的Flash视频不能在沙盒应用中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程式中播放Flash影片时发生问题。它以前一直在工作,但自从苹果要求每个开发人员启用权利和沙箱,网页视图中的Flash视频不播放。每次我禁用沙箱,它的工作,但如果沙盒启用,它不会。下面我已经张贴的沙盒和权利设置的链接图像。谢谢。

I'm having a problem with playing flash videos in my application. It's been working before, but ever since Apple has required every developer to enable entitlements and sandboxing, flash videos in the webview do not play. Everytime I disable sandboxing, it works, but if sandboxing is enabled, it doesn't. Below I've posted links images of the Sandboxing and Entitlements settings. Thanks.

http:// i。 stack.imgur.com/LCpvJ.png

http://i.stack.imgur.com/o6OVy.png

推荐答案

如何修复...

转到您的权利并添加:

KEY:  com.apple.security.temporary-exception.mach-lookup.global-name    TYPE:Array

然后使用值为数组添加一个字符串:

then add a string to the array with the value:

com.apple.WebKit.PluginAgent

这会在每次运行应用程序时设置一个临时异常,使应用程序有权运行PluginAgent。

This sets a temporary exception each time the application is run, giving the app permission to run the PluginAgent.

这篇关于WebView中的Flash视频不能在沙盒应用中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆