in ios5 implemented uiimageview this:
uiimageview *imageview = [[uiimageview alloc] initwithimage:[uiimage imagenamed:@"firstscreen.png"]]; imageview.frame = cgrectmake(0.0,0.0,[generalutils screenwidth],[generalutils screenheight]); // !!!!!!!!!!!!! [self.view addsubview: imageview]; [self.view sendsubviewtoback:imageview]; [self.view sendsubviewtoback:self.tableview];
everything´s fine...but in ios6 uiimageview not showing anymore....
try bellow code..
cgrect screenbounds = [[uiscreen mainscreen] bounds]; uiimageview *imageview = [[uiimageview alloc] initwithimage:[uiimage imagenamed:@"firstscreen.png"]]; imageview.frame = screenbounds; [self.view addsubview:imageview]; [self.view bringsubviewtofront:self.tableview]; [self.tableview setbackgroundcolor:[uicolor clearcolor]];
Comments
Post a Comment