AVPageViewController with Scroll transition is presented with a wrong offset

Originator:dcorderoramirez
Number:rdar://33823598 Date Originated:August 10 2017, 10:51 AM
Status:Resolved Resolved:tvOS 11 beta 7 (15J5369a) / Xcode 9 beta 6 (9M214v)
Product:tvOS + SDK Product Version:11.0
Classification: Reproducible:Always
 
Area:
tvOS SDK

Summary:
When using UIPageViewController, with transition style Scroll, the first view controller is presented with a wrong left offset.

As soon as any gesture is triggered, the view adopts its expected layout.

A project reproducing the problem can be found here: https://github.com/dcordero/Radar-UIPageViewController

Steps to Reproduce:
Just create an instance of AVPageViewController. A project reproducing the problem can be found in this repo https://github.com/dcordero/Radar-UIPageViewController

Expected Results:
The first view controller is presented without any offset.

Observed Results:
The first view controller is presented with an offset.

Version:
Xcode Version 9.0 beta 5 (9M202q)
tvOS 11.0 (15J5347f)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!