Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18300] iOS: WebView: loading property returns undefined

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2016-10-18T19:34:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
LabelsWebView
ReporterClaus Stilborg
AssigneeEric Merriman
Created2014-12-31T00:16:25.000+0000
Updated2017-03-22T21:59:16.000+0000

Description

Problem

The loading property of WebView returns 'undefined' even if the WebView is clearly loading a web page. 1. It should return false when not loading, not 'undefined' 2. It should return true when the WebView is loading content

Test case

Run this in an interval loop
Ti.API.info("Search loading: " + $.searchview.loading);

Logs

[INFO] :   Search loading: undefined
[INFO] :   Search loading: undefined
[INFO] :   Search loading: undefined
[INFO] :   Search loading: undefined
[INFO] :   Search loading: undefined

Discussions

Comments

  1. Hans Knöchel 2016-10-18

    Duplicate of TIMOB-10488
  2. Lee Morris 2017-03-22

    Closing ticket as duplicate and links to the related ticket has been provided above.

JSON Source