Skip to content

Webview not working on ios runtime #706

@calebeaires

Description

@calebeaires

WebView show on Android runtime, but not on ios runtime. Html is a simple page with a simple div. Here is the code.

XML

<ActionBar class="action-bar" [title]="ler.passoTitulo">
</ActionBar>
<StackLayout class='card'>
    <GridLayout class="box" rows="auto" columns="auto, *, auto, auto">
        <Image col="0" src="~/img/Notes.png"></Image>
        <Label col="1" class="label-title" [text]="ler.passoTitulo"></Label>
        <Button col="2" class="fa" (tap)="onBackText()" *ngIf="!hideBackButton" text="&#xf0a8;"></Button>
        <Button col="3" class="fa" (tap)="onNextText()" *ngIf="!hideNextButton" text="&#xf0a9;"></Button>
    </GridLayout>
    <StackLayout>
        <WebView *ngIf="ler.texto" [src]="ler.texto"></WebView>
    </StackLayout>
</StackLayout>

Nativescript: 2.4
ios emulator: ios 9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions