This was a fun one to debug! If a view has a transform the frame values have undefined behaviour. The containerView in the custom UIView controller has a transforms when the the device is in landscape orientation. The cards transition was using the containerView frame, so it works on the ipad in landscape.
Also a tiny fix to remove the hard coded screensize in the fold transition.
This was a fun one to debug! If a view has a transform the
frame
values have undefined behaviour. The containerView in the custom UIView controller has a transforms when the the device is in landscape orientation. The cards transition was using the containerView frame, so it works on the ipad in landscape.Also a tiny fix to remove the hard coded screensize in the fold transition.