ios6 状态栏高度为0的问题记录

本文记录了在iOS6中遇到状态栏高度显示为0,导致视图被遮挡的问题,以及详细的解决办法。通过检查和修改视图层级结构,设置正确的frame,确保视图在状态栏下方正确显示。解决方案包括在`viewDidAppear`和`tabBarController`的相关方法中调整frame。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://stackoverflow.com/questions/12567233/modal-dismissals-do-not-account-for-status-bar-new-ios-6-issue

搜了一下,这个人问题,跟我挺像

我的图片

http://my.youkuaiyun.com/qq469236803/album/detail/1474904

和 

http://my.youkuaiyun.com/qq469236803/album/detail/1474903


我的现象是,视图view顶上去,一部分藏在状态栏下面。目测,为20像素。针对这个现象,找了很久原因,找到了,原来是状态栏的高度为0,它的frame 是 0000.

先说解决办法:

针对普通的页面。

-(void)viewDidAppear:(BOOL)animated

{

    [super viewDidAppear:animated];

    UIView *uiLayoutContainerView=[self.view.window.subviews objectAtIndex:0];

    uiLayoutContainerView=[uiLayoutContainerView.subviews objectAtIndex:0];

    uiLayoutContainerView=[uiLayoutContainerView.subviews objectAtIndex:0];

    uiLayoutContainerView=[uiLayoutContainerView.subviews objectAtIndex:0];

    NSLog(@"%@",uiLayoutContainerView);

    if ([[UIApplication sharedApplication ] statusBarFrame].size.height==0&&self.view.frame.origin.y==0.0f&&ISPHONE&&uiLayoutContainerView.frame.origin.y==0)

    {

        uiLayoutContainerView.frame=CGRectMake(uiLayoutContainerView.frame.origin.x, 20, uiLayoutContainerView.frame.size.width, uiLayoutContainerView.frame.size.height);

        

    }

   

}

viewDidAppear 之所以放这里,没放viewWillAppear 是因为viewWillAppear不知道为什么不管用。o(╯□╰)o囧



针对more页面,在委托里面,设置

-(BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController*)viewController

{

    NSLog(@"%s",__func__);

CATransition* myanimation = [CATransition animation];

[myanimation setDuration:0.85f];

[myanimation setType:kCATransitionFade];

[myanimation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseOut]];

[tabBarController.view.layer addAnimation:myanimation forKey:@"switchView"];

    if ([[UIApplication sharedApplication ] statusBarFrame].size.height==0&&viewController.view.frame.origin.y==0.0f&&ISPHONE&&[NSStringFromClass([viewController class]) isEqualToString:@"UIMoreNavigationController"]) {

        viewController.view.frame=CGRectMake(0, 20, viewController.view.frame.size.width, viewController.view.frame.size.height);

    }

   

    return YES;

}

-(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController

{

    NSLog(@"%s",__func__);


    if ([[UIApplication sharedApplication ] statusBarFrame].size.height==0&&viewController.view.frame.origin.y==0.0f&&ISPHONE) {

                NSLog(@"before:%@",NSStringFromCGRect(viewController.view.frame));

        viewController.view.frame=CGRectMake(0, 20, viewController.view.frame.size.width, viewController.view.frame.size.height);

        NSLog(@"after:%@",NSStringFromCGRect(viewController.view.frame));

    }

}

至于为什么在shouldSelectViewController 和didSelectViewController 里面都加上,设置frame的代码:

请看下面解释。

{

本来,我只在-(BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController*)viewController

这个里面设置        viewController.view.frame=CGRectMake(0, 20, viewController.view.frame.size.width, viewController.view.frame.size.height);

但是我发现,有的时候,点击多了,不管用

但是多点击一下,就会好了

太他妈奇怪了

于是,我在想,有没有办法,触发两次-(BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController*)viewController

我后来也尝试了在,shouldSelectViewController里面执行两次viewController.view.frame= ,结果发现不管用。

后来发现,我在 

-(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController

也加上viewController.view.frame=的一段代码,就ok了。


}

至此为止,关于这个more页面的问题,应该算是解决了。


至于解决问题的过程:有一点感想,真是大爱cook book,刚开始,我试着把view 打出来,把状态栏打出来,以为发现问题的原因了。结果一试,发现,不行啊。

于是,就他妈的,把window 底下所有的subviews 都给打出来了,对比frame,才发现症结所在。





















附件:

正常.txt
2013-01-14 10:45:08.489 CPL_OA[220:907] [ 0] UIWindow  Frame :{{0, 0}, {320, 480}}
--[ 1] UILayoutContainerView  Frame :{{0, 0}, {320, 480}}
----[ 2] UITransitionView  Frame :{{0, 0}, {320, 431}}
------[ 3] UIViewControllerWrapperView  Frame :{{0, 0}, {320, 431}}
--------[ 4] UILayoutContainerView  Frame :{{0, 0}, {320, 431}}
----------[ 5] UINavigationTransitionView  Frame :{{0, 0}, {320, 431}}
------------[ 6] UIViewControllerWrapperView  Frame :{{0, 20}, {320, 411}}
--------------[ 7] UIControl  Frame :{{0, 0}, {320, 411}}
----------------[ 8] UIImageView  Frame :{{-1, 0}, {320, 411}}
----------------[ 8] UILabel  Frame :{{31, 77}, {101, 27}}
----------------[ 8] UILabel  Frame :{{31, 127}, {95, 21}}
----------------[ 8] UITextField  Frame :{{155, 73}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UITextField  Frame :{{155, 122}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 175}, {95, 21}}
----------------[ 8] UITextField  Frame :{{155, 170}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 219}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 214}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UILabel  Frame :{{31, 267}, {94, 21}}
----------------[ 8] UITextField  Frame :{{155, 262}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UILabel  Frame :{{31, 311}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 306}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 355}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 350}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UIButton  Frame :{{103, 9}, {113, 37}}
------------------[ 9] UIImageView  Frame :{{0, 0}, {113, 37}}
------------------[ 9] UIButtonLabel  Frame :{{20, 9}, {73, 19}}
----------[ 5] UINavigationBar  Frame :{{0, 20}, {320, 44}}
------------[ 6] _UINavigationBarBackground  Frame :{{0, 0}, {320, 44}}
--------------[ 7] UIImageView  Frame :{{0, 44}, {320, 3}}
------------[ 6] UINavigationItemView  Frame :{{119, 9}, {82, 27}}
------------[ 6] UIButton  Frame :{{5, 6}, {32, 32}}
----[ 2] UITabBar  Frame :{{0, 431}, {320, 49}}
------[ 3] _UITabBarBackgroundView  Frame :{{0, 0}, {320, 49}}
------[ 3] UIImageView  Frame :{{0, -3}, {320, 3}}
------[ 3] UITabBarButton  Frame :{{2, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{16, 34}, {29, 13}}
------[ 3] UITabBarButton  Frame :{{66, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{3, 34}, {54, 13}}
------[ 3] UITabBarButton  Frame :{{130, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{18, 34}, {25, 13}}
------[ 3] UITabBarButton  Frame :{{194, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{20, 34}, {21, 13}}
------[ 3] UITabBarButton  Frame :{{258, 1}, {60, 48}}
--------[ 4] UITabBarSelectionIndicatorView  Frame :{{0, 2}, {60, 44}}
--------[ 4] UITabBarSwappableImageView  Frame :{{14, 11}, {33, 16}}
--------[ 4] UITabBarButtonLabel  Frame :{{18, 34}, {25, 13}}



从主页面点击按钮进入的视图层次.txt
2013-01-14 10:45:50.761 CPL_OA[220:907] [ 0] UIWindow  Frame :{{0, 0}, {320, 480}}
--[ 1] UILayoutContainerView  Frame :{{0, 0}, {320, 480}}
----[ 2] UITransitionView  Frame :{{0, 0}, {320, 431}}
------[ 3] UIViewControllerWrapperView  Frame :{{0, 0}, {320, 431}}
--------[ 4] UILayoutContainerView  Frame :{{0, 0}, {320, 431}}
----------[ 5] UINavigationTransitionView  Frame :{{0, 0}, {320, 431}}
------------[ 6] UIViewControllerWrapperView  Frame :{{0, 0}, {320, 431}}
--------------[ 7] UIControl  Frame :{{0, 0}, {320, 431}}
----------------[ 8] UIImageView  Frame :{{-1, 0}, {320, 431}}
----------------[ 8] UILabel  Frame :{{31, 77}, {101, 27}}
----------------[ 8] UILabel  Frame :{{31, 127}, {95, 21}}
----------------[ 8] UITextField  Frame :{{155, 73}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UITextField  Frame :{{155, 122}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 175}, {95, 21}}
----------------[ 8] UITextField  Frame :{{155, 170}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 219}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 214}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UILabel  Frame :{{31, 267}, {94, 21}}
----------------[ 8] UITextField  Frame :{{155, 262}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UILabel  Frame :{{31, 311}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 306}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 355}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 350}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UIButton  Frame :{{103, 9}, {113, 37}}
------------------[ 9] UIImageView  Frame :{{0, 0}, {113, 37}}
------------------[ 9] UIButtonLabel  Frame :{{20, 9}, {73, 19}}
----------[ 5] UINavigationBar  Frame :{{0, 0}, {320, 44}}
------------[ 6] _UINavigationBarBackground  Frame :{{0, 0}, {320, 44}}
--------------[ 7] UIImageView  Frame :{{0, 44}, {320, 3}}
------------[ 6] UINavigationItemView  Frame :{{119, 9}, {82, 27}}
------------[ 6] UIButton  Frame :{{5, 6}, {32, 32}}
----[ 2] UITabBar  Frame :{{0, 431}, {320, 49}}
------[ 3] _UITabBarBackgroundView  Frame :{{0, 0}, {320, 49}}
------[ 3] UIImageView  Frame :{{0, -3}, {320, 3}}
------[ 3] UITabBarButton  Frame :{{2, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{16, 34}, {29, 13}}
------[ 3] UITabBarButton  Frame :{{66, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{3, 34}, {54, 13}}
------[ 3] UITabBarButton  Frame :{{130, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{18, 34}, {25, 13}}
------[ 3] UITabBarButton  Frame :{{194, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{20, 34}, {21, 13}}
------[ 3] UITabBarButton  Frame :{{258, 1}, {60, 48}}
--------[ 4] UITabBarSelectionIndicatorView  Frame :{{0, 2}, {60, 44}}
--------[ 4] UITabBarSwappableImageView  Frame :{{14, 11}, {33, 16}}
--------[ 4] UITabBarButtonLabel  Frame :{{18, 34}, {25, 13}}



从uimore点击进入的视图层次.txt
2013-01-14 10:46:49.108 CPL_OA[220:907] [ 0] UIWindow  Frame :{{0, 0}, {320, 480}}
--[ 1] UILayoutContainerView  Frame :{{0, 0}, {320, 480}}
----[ 2] UITransitionView  Frame :{{0, 0}, {320, 431}}
------[ 3] UIViewControllerWrapperView  Frame :{{0, 0}, {320, 431}}
--------[ 4] UILayoutContainerView  Frame :{{0, 20}, {320, 431}}
----------[ 5] UINavigationTransitionView  Frame :{{0, 0}, {320, 431}}
------------[ 6] UIViewControllerWrapperView  Frame :{{0, 0}, {320, 431}}
--------------[ 7] UIControl  Frame :{{0, 0}, {320, 431}}
----------------[ 8] UIImageView  Frame :{{-1, 0}, {320, 431}}
----------------[ 8] UILabel  Frame :{{31, 77}, {101, 27}}
----------------[ 8] UILabel  Frame :{{31, 127}, {95, 21}}
----------------[ 8] UITextField  Frame :{{155, 73}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UITextField  Frame :{{155, 122}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 175}, {95, 21}}
----------------[ 8] UITextField  Frame :{{155, 170}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 219}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 214}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UILabel  Frame :{{31, 267}, {94, 21}}
----------------[ 8] UITextField  Frame :{{155, 262}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UILabel  Frame :{{31, 311}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 306}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
------------------[ 9] UITextFieldLabel  Frame :{{7, 6}, {112, 18}}
----------------[ 8] UILabel  Frame :{{31, 355}, {88, 21}}
----------------[ 8] UITextField  Frame :{{155, 350}, {126, 31}}
------------------[ 9] UITextFieldRoundedRectBackgroundView  Frame :{{0, 0}, {126, 31}}
--------------------[10] UIImageView  Frame :{{0, 0}, {8, 31}}
--------------------[10] UIImageView  Frame :{{8, 0}, {110, 31}}
--------------------[10] UIImageView  Frame :{{118, 0}, {8, 31}}
----------------[ 8] UIButton  Frame :{{103, 9}, {113, 37}}
------------------[ 9] UIImageView  Frame :{{0, 0}, {113, 37}}
------------------[ 9] UIButtonLabel  Frame :{{20, 9}, {73, 19}}
----------[ 5] UINavigationBar  Frame :{{0, 0}, {320, 44}}
------------[ 6] _UINavigationBarBackground  Frame :{{0, 0}, {320, 44}}
--------------[ 7] UIImageView  Frame :{{0, 44}, {320, 3}}
------------[ 6] UIButton  Frame :{{5, 6}, {32, 32}}
------------[ 6] UINavigationItemView  Frame :{{119, 9}, {82, 27}}
----[ 2] UITabBar  Frame :{{0, 431}, {320, 49}}
------[ 3] _UITabBarBackgroundView  Frame :{{0, 0}, {320, 49}}
------[ 3] UIImageView  Frame :{{0, -3}, {320, 3}}
------[ 3] UITabBarButton  Frame :{{2, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{16, 34}, {29, 13}}
------[ 3] UITabBarButton  Frame :{{66, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{3, 34}, {54, 13}}
------[ 3] UITabBarButton  Frame :{{130, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{18, 34}, {25, 13}}
------[ 3] UITabBarButton  Frame :{{194, 1}, {60, 48}}
--------[ 4] UITabBarSwappableImageView  Frame :{{6, 2}, {48, 32}}
--------[ 4] UITabBarButtonLabel  Frame :{{20, 34}, {21, 13}}
------[ 3] UITabBarButton  Frame :{{258, 1}, {60, 48}}
--------[ 4] UITabBarSelectionIndicatorView  Frame :{{0, 2}, {60, 44}}
--------[ 4] UITabBarSwappableImageView  Frame :{{14, 11}, {33, 16}}
--------[ 4] UITabBarButtonLabel  Frame :{{18, 34}, {25, 13}}




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值