iOS 8 popoverpresentationcontroller popoverlayoutmargin无效 [英] iOS 8 popoverpresentationcontroller popoverlayoutmargin not working

查看:101
本文介绍了iOS 8 popoverpresentationcontroller popoverlayoutmargin无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用新的 popOverPresentationController 在iOS 8中显示 UIPopOverController
我设置 popOverLayoutMargins ,其值为 {65>,10.0,45.0,10.0}
但是当我提出popOverController时,这些并没有反映出来。这曾经在iOS 7上完美运行。
这是否在ios 8上被打破?

I am using the new popOverPresentationController to present UIPopOverController in iOS 8. I set the popOverLayoutMargins with a value like {65.0, 10.0, 45.0, 10.0}. But these do not reflect when I present the popOverController. This used to work perfectly on iOS 7. Is this broken on ios 8?

问候,
Harikant Jammi

Regards, Harikant Jammi

推荐答案

这是一个尚未修复的Apple漏洞。可以在此示例代码和Apple 开发者论坛

It is an Apple bug which has not yet been fixed. References to the bug can be found in this example code and on the Apple developer forums.

目前有这个问题没有明确的解决方法。已向Apple提交ID为 18392444 的错误报告。

There is currently no clear workaround for this issue. A bug report with ID 18392444 has been filed with Apple.

这篇关于iOS 8 popoverpresentationcontroller popoverlayoutmargin无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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