Operating System
Name = Mac OS X
Version = 10.10.4
Architecture = 64bit
# CPUs = 8
Memory = 17179869184
Node.js
Node.js Version = 0.10.38
npm Version = 1.4.28
Titanium CLI
CLI Version = 3.4.2
Titanium SDK
SDK Version = 4.0.0.RC
SDK Path = /Volumes/Data/Users/sebastian/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.RC
Target Platform = iphone
If I use this script with given url, the webView gets blank after loading the content.
Trying with "
http://www.youtube.com" instead of the given url, it works.
var browserWin = Ti.UI.createWindow();
var browser = Ti.UI.createWebView({
url:'http://www.youtube.com/results?search_query=transformers'
});
browserWin.add(browser);
browserWin.open({
modal:true
});
var browserWin = Ti.UI.createWindow();
var browser = Ti.UI.createWebView({
url:'http://www.youtube.com'
});
browserWin.add(browser);
browserWin.open({
modal:true
});
I am unable to reproduce this, using: MacOS 10.10.3 Studio 4.0.0.201505120319 Ti SDK 4.0.0.v20150511112612 Appc NPM 0.3.55 Appc CLI 0.2.282 Ti CLI 4.0.0-beta8 Alloy 1.6.0-beta4 Node v0.10.37 Java 1.7.0_45 And both the "Fails" and "Works" samples, above. Tried on Simulator with iOS 8.3 and iPad Air with iOS 8.4. The webview properly loads and does not go blank.
We seem to be unable to reproduce this, but if you let us know what we might have done wrong, we'd be happy to try again.