Skip to content

iOS横版不适配 #7

Description

@jiangbin1993

大神,我在用iOS版的时候竖版正确,但是横版会被压扁以及下方会空出一条白块。从图层上看flashView上铺满整个屏幕的,而且安卓版是适配的。我使用了旧版和新版的都不行,新版调用了self.flashViewNew = [[FlashViewNew alloc] initWithFlashName:_animsName[10] andAnimDir:nil scaleMode:FlashViewScaleModeWidthFit designResolution:CGSizeMake(1136, 640) designScreenOrientation:FlashViewScreenOrientationHor currScreenOrientation:FlashViewScreenOrientationHor];
而且这个designResolution改为多少都是一样的效果

旧版调用的是[self.flashView setScaleMode:FlashViewScaleModeRespective andDesignResolution:CGSizeMake(1000,600)];
[self.flashView setScaleWithX:1 y:0.6 isDesignResolutionEffect:YES];
这两个方法怎么改值也不能适配横屏。 请问这该怎么修改?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions