The PR re-introduces the UIViewmaskView to DetailViewController which is required to be able to set clipsToBounds to hide the inactive elements (e.g. more items menu or grid view) out of sight on iPad. Directly setting a mask for self.view is not possible as this would not allow to add visible shadows (see addShadowsToView) around the masked area.
Description
Fixes a regression of https://github.com/xbmc/Official-Kodi-Remote-iOS/pull/1043 which was reported in this forum post.
The PR re-introduces the
UIView
maskView
to DetailViewController which is required to be able to setclipsToBounds
to hide the inactive elements (e.g. more items menu or grid view) out of sight on iPad. Directly setting a mask forself.view
is not possible as this would not allow to add visible shadows (seeaddShadowsToView
) around the masked area.Summary for release notes
Bugfix: iPad stack view did not mask bounds