MyView *aa = [[MyView alloc]initWithFrame:CGRectMake(0, 0, screenw , screenh)];
aa.frame =self.view.bounds;
aa.backgroundColor = [UIColor redColor];
[self.view addSubview:aa];
为什么如果我的myview里面如何有个属性@property(nomotic,assign)CGRect frame;
其他什么都没有,这样加载出来的view不是满屏呢?
aa.frame =self.view.bounds;
aa.backgroundColor = [UIColor redColor];
[self.view addSubview:aa];
为什么如果我的myview里面如何有个属性@property(nomotic,assign)CGRect frame;
其他什么都没有,这样加载出来的view不是满屏呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货