Wednesday, 18 September 2013

slides turn blank during viewing the slides

slides turn blank during viewing the slides

my application views HTML5 slides in webViewDidFinishLoad i use this code
but still flashing white space
(void)webViewDidFinishLoad:(UIWebView *)webView{
webView.delegate=self; if (![[webView.request.URL absoluteString]
isEqualToString:@"about:blank"]) {
if ([[webView
stringByEvaluatingJavaScriptFromString:@"document.readyState"]
isEqualToString:@"complete"]) {
if (webView == ((SlideView *) swipeView.currentItemView).webView) {
int index = swipeView.currentItemIndex;
[self performSelector:@selector(hideImage:) withObject:[NSNumber
numberWithInt:index] afterDelay:0.0];

No comments:

Post a Comment