I am using the new popOverPresentationController to present UIPopOverController in iOS 8. I set the popOverLayoutMargins with a value like
popOverPresentationController
UIPopOverController
popOverLayoutMargins
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.
There is currently no clear workaround for this issue. A bug report with ID 18392444 has been filed with Apple.