Post

Replies

Boosts

Views

Activity

Reply to In SwiftUI, how to hide tab bar when a list is tapped to show a new view (without the tab bar)?
I meet same problem. And I do follow action to avoid it But a little problem still live That problem is I need use navigationBarTitle(self.selectTitle, displayMode: .inline) can't use large title struct AppTabNavigation: View {   @State private var selection: Tab = .menu   @State private var selectTitle: String = "menu"   var body: some View {     NavigationView {       TabView(selection: $selection) {         SmoothieMenu()           .tabItem {             Label("Menu", systemImage: "list.bullet")               .accessibility(label: Text("Menu"))           }           .tag(Tab.menu)                   FavoriteSmoothies()           .tabItem {             Label("Favorites", systemImage: "heart.fill")               .accessibility(label: Text("Favorites"))           }           .tag(Tab.favorites)                   RewardsView()           .tabItem {             Label("Rewards", systemImage: "seal.fill")               .accessibility(label: Text("Rewards"))           }           .tag(Tab.rewards)                   RecipeList()           .tabItem {             Label("Recipes", systemImage: "book.closed.fill")               .accessibility(label: Text("Recipes"))           }           .tag(Tab.recipes)       }       .navigationBarTitle(self.selectTitle, displayMode: .inline)       .onChange(of: selection, perform: { value in         print(value)         switch value {           case .menu:             self.selectTitle = "menu"         case .favorites:           self.selectTitle = "favorite"         case .rewards:           self.selectTitle = "rewards"         case .recipes:           self.selectTitle = "recipes"         }       })     }   } }
Aug ’20
Reply to How to I make the App Clip Card Show?
Same problem to me . Web page can show meta banner. And can open App Clip iOS14.beta5.iPhoneSE XCode12.beta5 WebUrl:https://example.com/www/ios.htmlconfig a meta banner Local Experience Url Prefix:https://example.com/ And at WebPage I can see Meta Banner And can open that installed App Clip But still can not see local experience config card . I hava change local expericen action to view or play , but same as open How can I solove this ? Best Wished
Aug ’20
Reply to iOS14 missing TabBar on popping multiple ViewControllers
Same problem to me You can re-write UINavigationController push function // fix: sometimes push and then popback no tabbar error (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated {   if (self.viewControllers.count == 1) {     viewController.hidesBottomBarWhenPushed = YES;   } else {     viewController.hidesBottomBarWhenPushed = NO;   }   [super pushViewController:viewController animated:animated]; }
Sep ’20
Reply to Xcode 12 beta 4 - error compiling for Simulator
Some respondents have solved this problem on Intel chip MAC machines But If I want run this on Apple Silicon Mac ,How to fix , In Apple Silicon , I meet same problem building for iOS Simulator, but linking in object file built for iOS, file '../SDK/***.framework/***' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) How to fix it ? Hope someone can give a perfect answer
Nov ’20