`struct ViewsContainer: View {
@State var currentView = "Feed"
@EnvironmentObject private var session:SessionStore
var body: some View {
VStack {
TabView() {//TabView
//MARK: Feed
Feed(finishedLoading: $session.finishedLoading).tabItem {
Label("Feed", systemImage: "house")
}.zIndex(1)
//End Feed
//MARK: Crew
Crew().tabItem {
Label("Crew", systemImage: "person.3")
}.zIndex(1)
//End Crew
//MARK: MapView
MapView().tabItem {
Label("Map", systemImage: "map")
}.zIndex(1)
//End Map
//MARK: Fitness
Fitness().tabItem {
Label("Fitness", systemImage: "figure.walk.circle")
}.zIndex(1)
//End Fitness
//MARK: Settings
Profile().tabItem {
Label("Profile", systemImage: "person").symbolRenderingMode(.monochrome)
}.zIndex(1)
//End Settings
}// End of TabView
.accentColor(Color("PrimaryColor"))
.zIndex(1)
}// End of VStack
}// End of body
}`
Post
Replies
Boosts
Views
Activity
Try deleting the current version and reinstalling. 😅
Contact Apple, Send them an email about a clarification.
MongoKitten is a much better alternative. Found the answer.
Xcode 12 and Xcode 12.2 beta 2 same issue.
im getting the same thing here
Fixed this issue by restarting both my MacBook Pro and my iPhone.
false alert.I can remove the node from the parent but i cant access it to do anything if i do childnode with name. position it wont work. But if i do childNode with name. remove from parent it works like *** lol
I firgured out the problem, dang im stupid. But pretty much i had to go to the sks scene file and change the custom class from SKScene to LoginScene so that thre code will link with that class and that when i do self.findChild it will go in the scene to find it. Thats why it wasnt finding it because they werent linked.
//When placed at the start of the search string, this specifies that the search should begin at the root node and be performed recursively across the entire node tree. Otherwise, it performs a recursive search from its current position.I got it from this website https://developer.apple.com/documentation/spritekit/sknode/searching_the_node_treethe name of the node is button in the skscene and its not working and i have tried it without the slashes.what im trying to do is create buttons in the skscene then connect it to code instead of vice versa.