Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h1><strong>Venkat's answer:</strong></h1> <p>Finally I resolve the issue.</p> <p><strong>Image Fixing Problem Resolved:</strong></p> <p>Actually client given website size --- 320 x 480 but in our app, i partiate the UIwebview 2 parts (like UIwebview and TabBar(like Foeward, Backward and refresh)) -used UIwebview size --- 320 x 437 -and remaining tabbar/imageview size : 320 x 43 so thats the reason only, image getting scrolling option. <strong>Solution:</strong> We have 2 options to resolve this issue (in my knowledge 1st option is better performance wise, but using 2nd option issue resolved).</p> <p><strong>1. need to ask the client, change website size (like our reqired size ex: 320 X 440).</strong></p> <p><strong>2. we can get image(.jpg) file path and insert into UIimageview.</strong></p> <p>So I think you understood the problem, why its behaving like this...</p> <p><strong>Solution:</strong></p> <p>Using content search option, you can find the image(.jpg) file path and if is there any image, display the image on UIImageView. here I have attached code:</p> <pre><code>- (void)webViewDidFinishLoad:(UIWebView *)webView { NSURL* url = [webView.request URL]; NSString * strCurrentUrl = [url absoluteString]; NSLog(@"curretn url is %@",strCurrentUrl); if ([strCurrentUrl rangeOfString:@".jpg"].location==NSNotFound) { notnetImg.hidden=YES; NSLog(@"Substring Not Found"); } else { NSLog(@"Substring Found Successfully"); notnetImg.hidden=NO; notnetImg.image=[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:strCurrentUrl]]]; } } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload