Group Group Group Group Group Group Group Group Group

Your First iOS and SwiftUI App · Adding an About Page |

This is a companion discussion topic for the original entry at
1 Like

I’m using a 2018 MBP, Catalina 15.2, Xcode 11.3

So I imagine this is a bug with Swift UI, but when I run the app in the simulator and press the info button, it pushes the about page normally.

Then I can press back and go back to the home page.

Then, if I press the about button again, now it does nothing. It doesn’t trigger the push to the about view.

Any ideas?


I am also having the same issue as well!

I came across the same problem!

1 Like

I have the same issue too. 2019 MBP, Catalina 10.15.1 , XCode 11.3.

The issue for me is only on simulators, not when I run it on a physical device

Using Catalina 15.2 and Xcode 11.3…
Not sure if this is related to other posts, but I encountered a problem when (following the video instructions at 6:38) I replaced
Button(action: {}) {
in ContentView with
NavigationLink(desitination: AboutView()) {
This resulted in a “Use of unresolved identifier ‘AboutView’” error.
I’ve double-triple checked that the AboutView.swift file was created correctly with correct target membership, etc.
Any clues? Thanks.

I’m having the same issue.
I hope someone at can help and clarify this situation.

Hello, maybe using the right spelling solves your error?

Hello, in Bull’s Eye about page, the page can be opened only once on the simulator. Xcode 11.3.
Thank you for your attention.

Hello, Petitjo, and thank you for your reply…the embarrassing spelling error (good catch, by the way!) only occurred in the post not the code. In any case, the problem went away after closing Xcode and restarting the computer. Thank you again for your reply. Happy New Year.

I am having strange issue before .padding worked but when I added navigationBarTitle. The padding gives "“Int: is not Convertible to 'CGFloat?”

Here is part of the code:
.padding(.bottom, 20)
.background(Image(“Background”), alignment: .center)

If I remove padding from the code then the error goes to:

Error says: “Type of expression is ambiguous without more context.” I tried removing self but still has a error.

Before this video it will always build without any problems. I have no idea why adding navigation broke other parts of the code.

I had the same issue, but thanks to rokk’s comments I tried it on my phone and it works fine, so I concur, it’s only an issue on the simulator. A rather annoying bug I guess?