Can we pass a parameter to view did load or view will appear of other class from a class

后端 未结 4 1260
悲&欢浪女
悲&欢浪女 2021-01-27 09:54

Sorry if it is not a standard question, but now your solutions can help me out. In my app, I have two classes: ClassA and ClassB. ClassB

4条回答
  •  清酒与你
    2021-01-27 10:28

    You normally create a property on the target class and populated it with whatever you need to pass along, then you push the other class onto the stack, or tell it to update.

提交回复
热议问题