Xcode: Version 12.1 (12A7403) iOS: 14.x I have run into this weird bug where the navigation bar back button disappears when a child view updates the list used by the navigation view's root list. I've put together some MVP code to demo the bug: import SwiftUI class ItemStore: ObservableObject { @Published var items = [Int]() init(items: [Int]) { self.items = items} } struct ContentView: View { @EnvironmentObject var store: ItemStore var body: some View { NavigationView { List { ForEach(store.items, id: .self) { label in NavigationLink(destination: Child1(label: label)) { Text(String(label)) } } } } } } struct Child1: View { var label: Int var body: some View { List { NavigationLink(destination: Child2(label: label)) { Text(Child1: (label)) } } } } struct Child2: View { @EnvironmentObject var store: ItemStore var label: Int var body: some View { Text(Child2: (label)) .toolbar { Button(action: { let max = store.items.max() store.items.append(max == nil ? 1 : max! + 1) }) { Image(systemName: plus) } } }
Search results for
build disappears
49,350 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello! I'm developing a Watch app, that's required to receive images from iPhone occasionally. Since the user will need their hands free, they have to inspect those images on Watch, which is why I added a rudimentary image viewer, allowing users to zoom in on images and pan around. As soon as the user pans or zooms, toolbar and title will disappear. This happens in simulator and on my colleague's Watch (A2376), but not on mine (A2356)! Tested both on watchOS 9.6.2 and 10.0.1. Here's a code excerpt: // View is presented on a sheet TabView(selection: $viewing) { ForEach(images) { reference in reference.img .resizable() .aspectRatio(contentMode: .fit) .scaleEffect(scale) .offset(offset + draggingOffset) .frame(width: screenSize.width, height: screenSize.height-1) .clipped() .id(reference.id) .gesture(panGesture, including: .gesture) .gesture(tapZoomGesture) .navigationTitle(viewerTitle) // .toolbar(content: { // ToolbarItem(placement: .cancellationAction) { // viewerToolbar // } // }) .focusable() .digi
When I reboot my iPhone 14 pro with Live Activity started, Keychase information disappears. So there is a problem that I have to sign-in again when I enter the app. There is no problem rebooting the iPhone without Live Activity. iOS17 didn't have this problem.
TestFlight is great, and the intro screens that appear when a tester launches your app for the first time are very helpful. However, I want to know when those screens appear, and when they disappear, so I can pause audio playback and resume it. Right now audio plays under these screens and it's not ideal. I tried hooking into viewWillDisappear and viewWillAppear on the initial UIViewController, but the TestFlight intro screens do not trigger these.
When I try to copy existing provision profile from our onprem mac mini to aws mac mini it is disappeared from the folder . /Users/ec2-user/MobileDevice/Provisioning Profiles/ Not sure whats going here .
After returning from the child view to the parent, the latter one will simply disappear. This is the full view. See itemsContent where I perform the navigation. The last tapped rectangle in this example will simply disappear. struct DashboardView: View { @State var viewModel: DahsboardViewModel @Namespace private var namespace var body: some View { ScrollView(.vertical) { LazyVStack(spacing: 24) { ForEach(viewModel.sections) { section in VStack(spacing: 16) { Text(section.title) itemsContent(for: section) } } } } } func itemsContent(for section: DashboardSection) -> some View { ForEach(section.items) { item in NavigationLink { PatternLearningRouter().rootView .id(item.id) .navigationTransition(.zoom(sourceID: item.id, in: namespace)) } label: { Rectangle() .fill(Color.yellow) .frame(width: 80, height: 80) .overlay { Text(item.title) } .matchedTransitionSource(id: item.id, in: namespace) } } } } XCode26 26.0.1(17A400) iPhone 16 Pro, iOS 26.0.1 Note: Only reproduced when I swipe back (not r
I'm developing for iMac. The error shows up in the same place in my code every time I build. I've looked for something that might relate in my code and could never get to restoreount.plist. The message disappears after some delay and the app still runs. Still testing.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
When I reboot my iPhone 14 pro with Live Activity started, KeyChain information disappears. So there is a problem that I have to sign-in again when I enter the app. There is no problem rebooting the iPhone without Live Activity. iOS17 didn't have this problem.
When I run my app on simulator or device, my status bar (time, battery, service) is visible for about 2 seconds during the launch screen and then disappears and doesn't come back. I have tried many variations within the info.plist file, changing View controller-based status bar appearance to YES and NO. trying different Status bar style and Status bar is initially hidden combinations. I don't know where i am going wrong. Can someone please help me? Here is my info.plist
Have experienced an issue in all public betas of iOS 11 where, on the lock screen, if I have any email notifications from a Gmail-based account, they will disappear from the lock screen when 1) any notification is interacted with, 2) thumb is rested on the TouchID sensor to unlock the phone, but not pressed to dismiss the lock screen. Seems to be isolated to Gmail accounts, any iCloud email notifications have remained on screen under the mentioned conditions.
Description I've encountered an issue with NavigationSplitView on visionOS when using a refreshable ScrollView or List in the detail view. The Problem: When implementing pull-to-refresh in the detail view of a NavigationSplitView, the ProgressView disappears and generates this warning: Trying to convert coordinates between views that are in different UIWindows, which isn't supported. Use convertPoint:fromCoordinateSpace: instead. I discovered that if the detail view includes a .navigationTitle(), the ProgressView remains visible and works correctly! Below is a minimal reproducible example showing this behavior. When you run this code, you'll notice: The sidebar refreshable works fine The detail refreshable works only when .navigationTitle(Something) is present Remove the navigationTitle and the detail view's refresh indicator disappears minimal Demo import SwiftUI struct MinimalRefreshableDemo: View { @State private var items = [Item 1, Item 2, Item 3] @State private var detailItems = [Detai
The error I was seeing has been fixed. I did contact Apple Developer Program Support and they eventually escalated the issue to an internal team. A couple of days later, I tried uploading a Catalyst build and it works. I don't know if the internal team fix it or someone else did, but the problem has disappeared.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
Hello,Is there anyone else that experience that annotations disappear from the map view after animating the map camera in iOS 11.2 betas? The annotations are still present on the map and you can tap on them (if you know where they are), but the annotation image or callout view is not displayed. It works fine on previous versions of iOS 11 (11.1 and before) on the same build.I've reported the bug (#35285427) but would like to know if there is any workarounds for this issue? I'm afraid this issue will break my app once 11.2 is release to the public, as the issue is still present in iOS 11.2 beta 5.Steps to Reproduce:1. Add annotations to map2. Animate camera (heading, angle etc.)3. Deselect annotation and zoom out4. Some annotations has disappeard
Hello everyone, We’ve recently noticed an issue with our app’s ratings and reviews on the App Store. Some users have informed us that they left ratings and/or reviews, but these never appeared. Additionally, we’ve observed some reviews disappearing after they were initially visible. We contacted Apple Support, and while they pointed us to the App Store terms and conditions—indicating that Apple has discretion over review removal—we’re trying to determine if there might be a technical reason behind this behavior. Here are some specifics: It has been a while since we’ve seen any new ratings or reviews, even though users have confirmed submitting them. Some reviews that were previously approved and visible have disappeared without explanation. We’ve ensured—to the extent possible—that our app complies with all guidelines and policies, so we’re ruling out violations as the cause for now. Since the app is still new, even a few ratings or reviews missing is quite impactful. Has anyone else experie
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store
App Store Connect
That should work. But you have a warning about an internal error… So try to: quit Xcode reopen project do a Clean Build Folder check error has disappeared try again setting color If that doesn't work, remove the VC and create a new ViewController (set it as Start VC)
Topic:
Programming Languages
SubTopic:
Swift
Tags: