2016-01-05 80 views

回答

0

=>試試這裏給出基於當前屏幕上設置HIGHT代碼:

浮動IMG = frame.size.height/frame.size.width;

frame.size.width = [[UIScreen mainScreen] bounds] .size.width;

frame.size.height = frame.size.width * img;

相關問題