私はどこの画像を正確に表示しようとしていますか? UIView * userViewの画面の真ん中に問題が表示されています。iPadの真ん中にある画像
userView = [[UIView alloc] initWithFrame:CGRectMake(x, y, KVWDT, KVHGT)];//KVWDT=300 & KVHGT=400.
と私のイメージビューが下部に、私はちょうど中間に画像を表示する必要がありますどのように
NSString *imageName = [NSString stringWithFormat:[dic objectForKey:@"img"]];
UIImage *image = [UIImage imageNamed:imageName];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
CGRect imgFrame = imageView.frame;
もいくつかの他のフィールドを表示しています、ユーザービューの上半分にのみ表示することですuserViewの私はこの問題