先丢github连结!晚点再补内容呜呜呜
居然还有300字以上的限制XDD
let actionSheet = UIAlertController(title: "Sure to sign out",
message: "",
preferredStyle: .actionSheet)
actionSheet.addAction(UIAlertAction(title: "Sign out",
style: .destructive,
handler: { [weak self] _ in
guard let strongSelf = self else{
return
}
do {
try FirebaseAuth.Auth.auth().signOut()
let vc = LoginViewController()
let nav = UINavigationController(rootViewController: vc)
nav.modalPresentationStyle = .fullScreen // if not-> pop up as a card
strongSelf.present(nav, animated: true)
}
catch {
print("Fail to log out")
}
}))
actionSheet.addAction(UIAlertAction(title: "Cancel",
style: .cancel,
handler: nil))
present(actionSheet, animated: true)
<<: Day 23 ATT&CK for ICS - Lateral Movement(1)
今天明天要来写纯CSS可控制的按钮分身术 感谢室友的idea提供~ 之前在重写网站时的首页按钮也是类...
Keyword: expect/actual 有的时候,在不同平台上,功能的实作有平台上的限制,而这...
不知不觉也来到了第 30 篇,虽然说这是一个三十天的学习纪录,但是却是花了我将近两个月的时间让这个课...
案例说明及适用场景 销售订单出货时,公司可以决定要走公司仓出库路线、或是由供应商直送(用於代销),或...
图片来源 其实心中想要考取商业分析师(PBA - Professional in Business...