Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

iOS使用 SplashView 限制不了宽高 #51

Closed
50431040 opened this issue Sep 29, 2021 · 4 comments
Closed

iOS使用 SplashView 限制不了宽高 #51

50431040 opened this issue Sep 29, 2021 · 4 comments

Comments

@50431040
Copy link

1.简述问题
iOS上使用SplashView,是全屏显示的,无法限制宽高。用示例项目测试也是如此。Android是正常的。

2.重现步骤

3.期望结果
iOS上使用SplashView,可以限制宽高。

4.SDK版本:

  • flutter: 2.0.0
  • dart: 2.12
  • pangle_flutter: 1.4.4
  • android:
  • iOS: 14.5

额外信息

@nullptrx
Copy link
Owner

nullptrx commented Oct 1, 2021

不能限制宽高是怎么回事呢?贴出你的部分代码看看吧

@50431040
Copy link
Author

50431040 commented Oct 8, 2021

不能限制宽高是怎么回事呢?贴出你的部分代码看看吧

我用你的example项目测试也是如此, https://github.com/nullptrX/pangle_flutter/blob/901d544724fa1efa3eae933795d32ee976ff1715/example/lib/page/cn/native/custom_splash_page.dart#L96
效果就是这个container没有显示出来,全屏都是广告

@nullptrx
Copy link
Owner

nullptrx commented Oct 8, 2021

理论上不应该的,我线上都是这么用的。最近升级了Xcode,调试出了问题。等修复了我再看看。

@nullptrx
Copy link
Owner

nullptrx commented Nov 1, 2021

的确是这样,我以前的版本还是正常的。可能跟升级sdk有关系。我优化一下。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants