iphone Programming Glossary: view.backgroundcolor
Add UIView as subView on UIActionSheet http://stackoverflow.com/questions/11051512/add-uiview-as-subview-on-uiactionsheet id sender create the view Lablesubview view Lablesubview alloc init Set the frame view.frame CGRectMake 0 10 320 100 view.backgroundColor UIColor greenColor UIActionSheet actionSheet UIActionSheet alloc initWithTitle nil delegate self cancelButtonTitle..
Round corners on UITableView http://stackoverflow.com/questions/1106861/round-corners-on-uitableview because it was already for OS 3.0 and hight. I created a custom UIView with a subview with cornerRadius 10 and with view.backgroundColor UIColor clearColor Then you have to place an UITableView grouped style in that subview. You need to set the backgroundColor.. the frame size and origin. My loadView class of my custom UIView looks like this self.view UIView alloc init self.view.backgroundColor UIColor clearColor CustomUIViewClass scherm CustomUIViewClass alloc init CGRect frame frame.origin.x 10 frame.origin.y 50..
iOS Hiding tab bar in iOS 6 creates black bar (fix for iOS 6 breaks iOS 7!) http://stackoverflow.com/questions/19006545/ios-hiding-tab-bar-in-ios-6-creates-black-bar-fix-for-ios-6-breaks-ios-7 else view setFrame CGRectMake view.frame.origin.x view.frame.origin.y view.frame.size.width fHeight view.backgroundColor UIColor blackColor UIView commitAnimations void showTabBar UITabBarController tabbarcontroller CGRect screenRect UIScreen..
Custom UITableViewCell and animation on setSelected:animated: http://stackoverflow.com/questions/3982942/custom-uitableviewcell-and-animation-on-setselectedanimated super like so void setSelected BOOL selected animated BOOL animated UIView view UIView alloc initWithFrame self.frame view.backgroundColor UIColor colorWithRed .9 green .0 blue .125 alpha 1.0 self.selectedBackgroundView view super setSelected selected animated..
Populate the table view sections with rows of table in sqlite database in an order http://stackoverflow.com/questions/8475446/populate-the-table-view-sections-with-rows-of-table-in-sqlite-database-in-an-ord if cell nil cell UITableViewCell alloc initWithStyle UITableViewCellStyleValue1 reuseIdentifier CellId autorelease view.backgroundColor UIColor clearColor cell.backgroundColor UIColor alloc initWithPatternImage UIImage imageNamed @ reminderbutton.png label1..
Retrieve all rows inserted in sqlite database and display in table view cells containing labels as subviews with different sections http://stackoverflow.com/questions/8574342/retrieve-all-rows-inserted-in-sqlite-database-and-display-in-table-view-cells-co nil if cell nil cell UITableViewCell alloc initWithStyle UITableViewCellStyleValue1 reuseIdentifier nil autorelease view.backgroundColor UIColor clearColor cell.backgroundColor UIColor alloc initWithPatternImage UIImage imageNamed @ reminderbutton.png label1.. the reminder data cell UITableViewCell alloc initWithStyle UITableViewCellStyleValue1 reuseIdentifier nil autorelease view.backgroundColor UIColor clearColor cell.backgroundColor UIColor alloc initWithPatternImage UIImage imageNamed @ reminderbutton.png label1..
|