I want to apply Return to non-parent viewcontroller.

Asked 2 years ago, Updated 2 years ago, 73 views

Hello. Thank you for your continuous support.

I have a program that looks like a Todo list.

Dependencies are
1:mypage->Create to do->Details to do is a dependency of viewcontroller, but
There is another dependency, 2:mypage->List of things to do->Details to do.

So I want to write a program that goes through the flow of 1 and returns to the flow of 2.

The language is swift2.0.
Please help me.

ios swift ios8

2022-09-30 16:07

3 Answers

In the first place, I felt a little uncomfortable with the screen transition.


2022-09-30 16:07

If you are trying to match the specifications to the web version,
Why don't you use the UINavigationController?

The web screen transition and UINavigationController are
I think it's very friendly.

Rather, in the web version,
Going back to flow 2 through flow 1
I wonder how it's happening (or what exactly
) I don't know if it's a transition or not.)

After analyzing it properly in the web version,
UINavigationController If you do the same on a base
I think it's good.

"At that time, the keyword ""back"" that you are using now is
" I think it is necessary to clarify specifically what to do.
If it's the web, you can say "back" but
Back to the previous screen with the
Back button on the browser. Transition to the same URL as the original screen by using the Back button in the screen
(Actually creating a new screen instead of going back)
There are two types of cases.

"By the way, ""I'm using a segment instead of a UINavigationController"""
It says UINavigationController whether to use it or not
Whether or not to use Segue is a completely different story.
Configure the screen with UINavigationController and transition with push segment
You can also do it.
I understand that.
·UINavigationController is not used
That means
·Using Segue

that Am I correct in understanding that the above two sentences are just represented in one sentence?


2022-09-30 16:07

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.