我正在尝试将“设置”按钮的颜色更改为白色,但无法使其更改。
我已经尝试了这两个:
navigationItem.leftBarButtonItem?.tintColor = UIColor.whiteColor() navigationItem.backBarButtonItem?.tintColor = UIColor.whiteColor()
但没有变化,它仍然是这样的:
我该如何让这个按钮变成白色?
加入腾讯云会员,每月可领会员专属优惠券;会员云产品免费体验;云产品会员专享价;会员签到抽奖…
发布于 2018-03-23 02:23:37
要标记一个lambda异步,在它的参数列表前加上async:
// Add a command to delete the current Group contextMenu.Commands.Add(new UICommand("Delete this Group", async (contextMenuCmd) => { SQLiteUtils slu = new SQLiteUtils(); await slu.DeleteGroupAsync(groupName); }));
相似问题
领取专属 10元无门槛券
AI混元助手 在线答疑
洞察 腾讯核心技术
剖析业界实践案例