mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Better comments on how masking works
This commit is contained in:
parent
b0e95c9934
commit
1fc2b10e7e
1 changed files with 4 additions and 0 deletions
|
|
@ -606,6 +606,10 @@
|
|||
tabFrame.origin.y -= tabFrame.size.height;
|
||||
tabFrame.origin.x -= tabFrame.size.width;
|
||||
contentFrame.size.height = tabFrame.origin.y - contentFrame.origin.y;
|
||||
|
||||
// for some views, we need the content to overlap, in which case
|
||||
// we insert in the tab XIB a mask with tag -1 and with y = the amount of
|
||||
// points that the content should overlap.
|
||||
for (UIView *view in self.tabBarViewController.view.subviews) {
|
||||
if(view.tag == -1) {
|
||||
contentFrame.size.height += view.frame.origin.y;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue