Skip to content

Commit 2b3bef5

Browse files
Fixes masking problem of _detailsView.
1 parent 0ed9ed1 commit 2b3bef5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CTSplitViewController/CTSplitViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ - (void)_unloadMasterView
644644
- (void)_loadDetailsView
645645
{
646646
_detailsView = [[UIView alloc] initWithFrame:self.visibleMasterDetailsFrame];
647+
_detailsView.layer.masksToBounds = YES;
647648
_detailsView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
648649

649650
[_detailsView insertSubview:self.detailsViewController.view atIndex:0];

0 commit comments

Comments
 (0)