让提示界面始终保持在页面的最前端(页面置顶)

时间:2014-04-29 19:09:34   收藏:0   阅读:994

 

bubuko.com,布布扣
UIView *parentView = nil;
        NSArray* windows = [UIApplication sharedApplication].windows;
        UIView* window = [windows objectAtIndex:0];
        if(window.subviews.count > 0)
        {
            parentView = [window.subviews objectAtIndex:0];
           [parentView addSubview:m_loadingImageView];
        }
bubuko.com,布布扣

 

 

让提示界面始终保持在页面的最前端(页面置顶),布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!