Note that there are some explanatory texts on larger screens.

plurals
  1. POUse a UIImageView to draw a background image for UITableView results in artefacts
    primarykey
    data
    text
    <p>I'm very new to Xcode and not familiar with all functions. I simply would like to have a background image underneath my UITabelView. There are many answers to this problem, but all of them give me these white artefact borders. So my question is, did anybody end up with the same problem and solved it? To get an idea, imag is attached below.</p> <p>Thx for any help!</p> <p>Here just a quick view over my implementaion</p> <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions{ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; // Override point for customization after application launch //initialise main views UIImageView *backGround = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.window.bounds.size.width, self.window.bounds.size.height)]; [backGround setImage:[UIImage imageNamed:@"Default.png"]]; [self.window addSubview:backGround]; LoginViewController *loginViewController = [[LoginViewController alloc] initWithNibName:@"LoginViewController" bundle:nil]; self.navigationController = [[UINavigationController alloc] initWithRootViewController:loginViewController]; self.window.rootViewController = self.navigationController; self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible]; return YES; } </code></pre> <p><img src="https://i.stack.imgur.com/U7AI0.png" alt="enter image description here"></p> <hr> <p><br> <br> <br> [Same Problem on antoher UI Item]</p> <p>Now I have the same problem on my programmatically created UIButtons with rounded rect. But I have no idea how to get rid of them?</p>
    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