美文网首页
ios 视图加载Window上

ios 视图加载Window上

作者: 陆壹吱吱 | 来源:发表于2018-08-16 16:02 被阅读24次

     UIWindow * window = [[[UIApplication sharedApplication] delegate] window];

  selectOneView = [[UIView alloc] initWithFrame:CGRectMake(50*W, 0, WIDTH - 50*W, HEIGHT)];

    selectOneView.backgroundColor = [UIColor whiteColor];

    [windowaddSubview:selectOneView];

相关文章

网友评论

      本文标题:ios 视图加载Window上

      本文链接:https://www.haomeiwen.com/subject/swrobftx.html