In case of any problem with the IDE and you can't find any solution to solve it and you don't want to waste time in re-installing XCode, you may run the following commands to delete the existing settings/preferences. The following codes was posted by someone in stackoverflow.com and it solves the Storyboard problem after I change the minimum supported iOS version from 5.1 to 4.0.
First, you need to close XCode IDE and then call out the Terminal:
rm -rf $HOME/Library/Application Support/Developer/Shared/Xcode
rm -rf $HOME/Library/Preferences/com.apple.dt.Xcode.*
rm -rf $HOME/Library/Saved\ Application\ State/com.apple.dt.Xcode.savedState
rm -rf $HOME/Library/Developer/Xcode
NOTE: the first command is for Xcode 5 only.
Saturday, August 17, 2013
Thursday, August 1, 2013
Changing the UITableView background color when it was UITableViewStyleGrouped
What you need to do is to run the following code in the viewDidLoad even:
self.tableView.backgroundColor = [UIColor BlackColor];
self.tableView.backgroundView = nil;
self.tableView.backgroundColor = [UIColor BlackColor];
self.tableView.backgroundView = nil;
Subscribe to:
Posts (Atom)