Em 27/06/2011, às 13:56, David Duncan escreveu:
>
> The problem is that a UIDeviceOrientaiton also includes Unknown, FaceUp and
> FaceDown orientations. Thus !Landscape means Portrait or one of those (ditto
> for !Portrait). A large portion of the time, your likely holding the device
> in Face
On Jun 26, 2011, at 12:51 PM, Tales Pinheiro de Andrade wrote:
> Well, I used the macro UIDeviceOrientationIsLandscape, I'm assuming that this
> is for both sides:
> #define UIDeviceOrientationIsPortrait(orientation) ((orientation) ==
> UIDeviceOrientationPortrait || (orientation) ==
> UIDevic
Well, I used the macro UIDeviceOrientationIsLandscape, I'm assuming that this
is for both sides:
#define UIDeviceOrientationIsPortrait(orientation) ((orientation) ==
UIDeviceOrientationPortrait || (orientation) ==
UIDeviceOrientationPortraitUpsideDown)
#define UIDeviceOrientationIsLandscape(ori
Yes, scroll views layout during scroll. But the reSl problem is likely in your
use of device orientation. Specifically unlike interface orientation, not being
landscape is not the same ad bring portrait, as device orientation has 3
additional orientations. If you want to match your interface ori
Hi.
I have a few custom views of three kind inside a custom UIScrollview. I'm
trying to resize these custom views as the device change the orientation.
I added these custom views programatically to the custom UIScrollView. I
implemented in the custom UIScrollview the below method
- (void)layou