我一直在阅读以更改导航栏上的默认颜色,我只需要将appdelegate中的第一个方法更新为此
self.window.rootViewController.navigationController.navigationBar.tintColor = [UIColor whiteColor];
Run Code Online (Sandbox Code Playgroud)
但它似乎没有用,所以我尝试在firstview的viewDidLoad方法中设置它:
self.parentViewController.navigationController.navigationBar.tintColor = [UIColor whiteColor];
Run Code Online (Sandbox Code Playgroud)
这也不起作用.我怎么能改变这个?
我对wordpress安装感到困惑.该wp_config文件对我的MySQL(本地主机)的实例的root用户名和密码,我创建了一个叫做"WordPress的一个空数据库(我不知道我是否应该有创建开始与数据库).
当我去http:// localhost/wordpress /我收到一条'Error establishing a database connection'消息.我想要开始使用名为'wordpress'的数据库吗?
这些是我在配置文件中的凭据:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', 'friday');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this …Run Code Online (Sandbox Code Playgroud)