Login
Remember
Register
Ask a Question
How to pass the data between view controllers?
0
votes
asked
Nov 8, 2022
in
Swift
by
SakshiSharma
How to pass the data between view controllers?
data-controllers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 8, 2022
by
SakshiSharma
There are three ways to pass the data between view controllers as shown below.
Using Segue, in prepareForSegue method (Forward).
Setting the variable directly (Backword).
Using Delegate (Backword).
...