Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repositioning the segment we left after the switch off #1

Open
marbeaupa opened this issue Dec 29, 2017 · 3 comments
Open

Repositioning the segment we left after the switch off #1

marbeaupa opened this issue Dec 29, 2017 · 3 comments

Comments

@marbeaupa
Copy link

How it is possible to reposition the program on the left segment after the switch off of the program? I saw after the re-start of the program that the initial segment is always the same. Me too in one of my program I have this problem. I think we have to save in prefs the position and to write something in the Viewdidload.

@MQZHot
Copy link
Owner

MQZHot commented Dec 29, 2017

Hi, Do you mean saving the current selected state? The next time you enter, the saved state is displayed ?

@marbeaupa
Copy link
Author

marbeaupa commented Dec 29, 2017 via email

@MQZHot
Copy link
Owner

MQZHot commented Dec 29, 2017

I think may be you need Userdefaults to control the on and off of the switch...or the condition how to determine of the switch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants