Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9008413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:55:57+00:00 2026-06-16T01:55:57+00:00

I have an UIWebView , where i changed the background image. but the image

  • 0

I have an UIWebView, where i changed the background image. but the image is not changed behind the text,but displaying the image apart from the text. it just shows white background behind text, can any one let me know how can i remove it.

self.webview.backgroundColor = [UIColor clearColor];
        self.webview.opaque = NO;
        UIColor *background=[[UIColor alloc]initWithPatternImage:[UIImage imageNamed:@"mainbg2_ipad.png"]];
        self.webview.backgroundColor=background;
        self.view.backgroundColor=background;

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:55:58+00:00Added an answer on June 16, 2026 at 1:55 am

    Try this code…

    self.webview.opaque = NO;  ///Set YES,just try it 
    self.webview.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"mainbg2_ipad.jpeg"]];
    self.view.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"mainbg2_ipad.jpeg"]];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented UIWebView and displaying the contents coming from web services,Here is the
I have added the back ground color as an image to uiwebview but it
I have a UIWebView that loads a link, http://www.google.com/a/datacommsales.net . But I want to
I have a UIWebView containing html-formatted text. In the text some words are links.
I have a UIWebView which loads videos from an external server. The code seems
I have a UIWebView class that is added to each storyboard on load, but
I'm trying to display a HTML into a UiWebView, but it shows the HTML
I have an uiwebview and i load the followin NSString text NSString *htmltext=@Likes: @Amore
I have a UIWebView with a black background and I would like the phone
I have a UIWebView in my iPhone app that have a web page with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.