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
时间: 2024-10-14 04:31:01