Can I make a global function for push/pop decision for all viewcontrollers (vc, vc2 ,vc3, vc4, ...)?
func poprootviewcontroller(view: UIView?,title: String?,f: CGRect?)->UIButton {
return btn
like so?
Can I make a global function for push/pop decision for all viewcontrollers (vc, vc2 ,vc3, vc4, ...)?
func poprootviewcontroller(view: UIView?,title: String?,f: CGRect?)->UIButton {
return btn
like so?
Copyright © 2021 Jogjafile Inc.