ios divice size1 ios 디바이스 사이즈 구하기 & xib 파일 이름으로 뷰 띄우기 //디바이스 사이즈 구하기 CGRect screenRect=[[UIScreen mainScreen]bounds]; CGFloat deviceWidth=screenRect.size.width; CGFloat deviceHeight=screenRect.size.height; //xib 파일 이름으로 뷰컨트롤러 객체 생성 _cancelViewController=[[CancelViewController alloc]initWithNibName:@"CancelViewController" bundle:nil]; //상단에 얻은 디바이스 크기로 뷰를 호출하기전에 리사이즈 합니다. [_cancelViewController.view setFrame:CGRectMake(0, 0, deviceWidth, deviceHeigh.. 2019. 10. 24. 이전 1 다음