ν°λ―Έλμμ μλ μ½λ μ€ν
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
class SelectWishViewController: UIViewController {
@IBOutlet weak var bar: UINavigationBar!
override func viewDidLoad() {
super.viewDidLoad()
setNavigationBar()
}
func setNavigationBar(){
bar.setBackgroundImage(UIImage(), for: UIBarMetrics.default)
bar.shadowImage = UIImage() // ν¬λͺ
μ΄λ―Έμ§λ‘ μ€μ
bar.backgroundColor = UIColor.clear
}
}
let selectWishStoryboard = UIStoryboard.init(name: "Main", bundle: nil)
guard let selectWishVC = selectWishStoryboard.instantiateViewController(identifier: "SelectWishViewController") as? SelectWishViewController else { return }
selectWishVC.modalPresentationStyle = .fullScreen
selectWishVC.paramIndex = indexPath.item // indexPath.item λ겨μ€
present(selectWishVC, animated: true, completion: nil)
var paramIndex: Int = 0