我正在使用带有3个按钮的自定义tableviewcell。我在自定义单元格中的layoutSubviews方法中设置了按钮的框架:-(void)layoutSubviews{ [superlayoutSubviews]; CGRectframe; if(UIDeviceOrientationIsLandscape([UIDevicecurrentDevice].orientation)) { frame=CGRectMake(310,7,55,35); _prod.frame=frame; frame=CGRectMake(365,7,55,35);