Post

Replies

Boosts

Views

Activity

2 Back Buttons When Creating Multiple Views
Hello! I am experimenting with multiple views in an app, and I realized that if I created more than 2 views, multiple back buttons would appear based on how many views were created (If 3 were created, the 2 would appear, one button going to one view and the other back button going to another view),so how do I fix this? Here is an image of the back buttons: And here is the code for the views: First View: Second View: Third View:
1
0
482
Jun ’21
Getting The Value From a Picker
I just started learning Swift recently and I was trying to use Pickers to get a scroll wheel of some type. I had a ForEach loop that went from 10-100 and I tried to get values back from the picker when a user selected one of those values, but I instead got the index of that value instead of the actual value. Is there a way to get the value and not the index? Thank you
4
0
2.1k
Apr ’21
How Many Devices Should Your Submission Work On?
I am thinking of applying for the WWWDC Scholarship next year since I just started learning Swift recently, but as I was reading the requirements, I saw that it said: "Your Swift playground must be built with and run on Swift Playgrounds 3.4.1 on iPadOS 14.4.2, Swift Playgrounds 3.4.1 on macOS 11.2.3, or Xcode 12.4 on macOS 11.2.3. If it runs on iPadOS, it must be optimized to display properly on all models of iPad Pro." Does this mean that if you decide that your project is on an Ipad, then that means that it has to work on every display size or that no matter what device your project is meant for, it must be designed to work on an Ipad as well?
1
0
651
Apr ’21