I download Xcode 13.1 from AppStore to my Mac (Monterey). But I don't see Life Cycle options when I create a new IOS App Project. Have you ever seen this kind of problem? Do you have any solution about it?
When I create a new project on Xcode, I don't see "Life Cycle" and Options
That's normal.
Since Xcode 13, you cannot select UIKit App Delegate Lifecycle for SwiftUI.
So, there is no lifecycle to choose anymore.
- For Storyboard, only choice is UIKit App Delegate
- For SwiftUI, only choice is SwiftUI App
You select the interface (Storyboard or SwiftUI) and the lifecycle is determined.
Thank you very much for your answer.
On Apple's SwiftUI Tutorials (https://developer.apple.com/tutorials/swiftui/creating-and-combining-views) Step 3, there is Life Cycle Option. I am confused when I don't see that options on my Xcode.
On Apple's SwiftUI Tutorials (https://developer.apple.com/tutorials/swiftui/creating-and-combining-views) Step 3, there is Life Cycle Option. I am confused when I don't see that options on my Xcode.
Just because that was written using Xcode 12.x and you use Xcode 13.
Here is what I get with Xcode 12.4: