features:4月新绚多设备适配 & 修复一些已知bug
This commit is contained in:
+3
-3
@@ -28,7 +28,7 @@
|
||||
|
||||
|
||||
CGFloat imgWid= kScreenSize.width - 40*2;
|
||||
CGFloat imHeight= imgWid*1.6;
|
||||
CGFloat imHeight= imgWid;
|
||||
self.backgroundColor=[UIColor colorWithWhite:0 alpha:0.5];
|
||||
_picBackImg
|
||||
=[[UIImageView alloc]initWithFrame:CGRectMake(40,kScreenSize.height/2-imHeight/2, imgWid, imHeight)];
|
||||
@@ -56,7 +56,7 @@
|
||||
_pic=[[UIPickerView alloc]initWithFrame:CGRectMake(10,CGRectGetMaxY(title.frame) + 2,imgWid - 20,imHeight -30 - 40- 20)];
|
||||
_pic.dataSource=self;
|
||||
_pic.delegate=self;
|
||||
//_pic.backgroundColor = [UIColor blueColor];
|
||||
// _pic.backgroundColor = [UIColor blueColor];
|
||||
[_picBackImg addSubview:_pic];
|
||||
|
||||
_sureBtn
|
||||
@@ -128,7 +128,7 @@
|
||||
|
||||
-(CGFloat)pickerView:(UIPickerView *)pickerView rowHeightForComponent:(NSInteger)component{
|
||||
|
||||
return pickerView.frame.size.height/5;;
|
||||
return pickerView.frame.size.height/5;
|
||||
}
|
||||
|
||||
-(CGFloat)pickerView:(UIPickerView *)pickerView widthForComponent:(NSInteger)component{
|
||||
|
||||
Reference in New Issue
Block a user