Skip to content

Commit

Permalink
fix(ios): fix tabgroup layout on iOS 16+ (#13522)
Browse files Browse the repository at this point in the history
* fix(ios): fix tabgroup layout on iOS 16+

* fix: fix linting (of course …)
  • Loading branch information
hansemannn committed Aug 4, 2022
1 parent 43faca2 commit 5afeee0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions iphone/Classes/TiUITabGroup.m
Expand Up @@ -618,9 +618,13 @@ - (void)setTabs_:(id)tabs

- (void)open:(id)args
{
UIView *view = [self tabController].view;
[view setFrame:[self bounds]];
[self addSubview:view];
TiThreadPerformOnMainThread(
^{
UIView *view = [self tabController].view;
[view setFrame:[self bounds]];
[self addSubview:view];
},
NO);
}

- (void)close:(id)args
Expand Down

0 comments on commit 5afeee0

Please sign in to comment.