小编Mig*_*gel的帖子

如何在 iOS 中使用 WebView、Nativescript 使高度动态化?

我遇到的问题是,WebView 不会在 iOS 中动态加载高度(如果在 Android 中加载),问题是我的内容是动态的并且可以变高,并且放置固定高度对我来说不起作用。你可以帮帮我吗?

<CardView *ngFor="let itinerario of itinerario" class="card" elevation="40" radius="10" ios:shadowRadius="3">
   <StackLayout class="card-layout text-center">
      <WebView [src]="itinerario.mEstructura" height="auto"></WebView>
   </StackLayout>
</CardView>
Run Code Online (Sandbox Code Playgroud)

ios nativescript angular

2
推荐指数
1
解决办法
1180
查看次数

标签 统计

angular ×1

ios ×1

nativescript ×1