Rhodes can't Embedded Timelines for ios, just about:blank

21 views
Skip to first unread message

liang xingxing

unread,
Jan 19, 2014, 8:12:33 AM1/19/14
to rhom...@googlegroups.com
I'm use rhodes and jquery mobile build my app.
I want to Embedded Timelines on page like this:

on page:
<a class="twitter-timeline" href="https://twitter.com/twitterapi" data-widget-id="xxxxx" data-screen-name="twitterapi">Tweets by @twitterapi</a>
js part:
$("#page").live("pageshow", function() {
$.ajax({
    url: "/public/widgets.js",
    dataType: "script"
 });

but just android can display, ios has problem.
I debug on Xcode to see Log:

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request

 navigationType:(UIWebViewNavigationType)navigationType {

    NSLog(@"%@", request);

the result:

<NSMutableURLRequest about:blank>

I 01/19/2014 21:04:05:693 ac564a28       SimpleMainView| WebView shouldStartLoadWithRequest( about:blank )

I 01/19/2014 21:04:05:693 ac564a28       SimpleMainView| Open url in external application: about:blank

I don't know why about:blank here, anyone who knows why?


Reply all
Reply to author
Forward
0 new messages