Post

Replies

Boosts

Views

Activity

Disabling App Clip's Initial App Store Notification Banner
We're encountering a UX challenge with the automatic App Store notification banner that appears when users first launch our App Clips (not the App Clip sheet). This notification, which suggests downloading the full app, is creating confusion among our users. We've observed that some users tap the notification instead of completing their intended action within the App Clip, interrupting their workflow. Is there a way to disable this banner?
0
1
506
Jan ’25
Force blurred NavigationBar?
Hi, Is it possible to control how the navigation bar appears in SwiftUI? When I present a view using NavigationLink, the entire navigation bar becomes transparent and making it hard to differentiate between the items in the navigation bar and the actual content below. I want the Navigation Bar to be blurred.         VStack {                          Map(coordinateRegion: $region, annotationItems: rekoRings.filter({ searchBar.text.isEmpty || $0.name.localizedStandardContains(searchBar.text) })) { ring in                 MapAnnotation(coordinate: CLLocationCoordinate2D(latitude: ring.latitude, longitude: ring.longitude),                               anchorPoint: CGPoint(x: 0.5, y: 0.5)) {                                          NavigationLink(                         destination: RekoRingDetailView(rekoRing: ring),                         label: {                             VStack {                                 Image(systemName: "smallcircle.fill.circle.fill")                                     .frame(width: 22, height: 22, alignment: .center)                                     .foregroundColor(.red)                                                                  if !disableInteraction {                                     Text(ring.name)                                         .font(.caption)                                         .foregroundColor(.primary)                                 }                             }                         })                 }             }             .edgesIgnoringSafeArea(.all)             .disabled(disableInteraction)         }         .add(searchBar)         .onAppear(perform: {             fetchRings()         })         .navigationTitle(Text("Delivery Locations"))     }
2
1
2.0k
Apr ’23
Segmentation fault: 11 in Xcode 10 beta
Hello,I'm trying to build my app using Xcode 10 beta - but I get an error wich I don't get on the previous versions. Any idea of what it could be?While silgen emitConstructor SIL function "@$S14PROJECT25SBMonitoredVehicleJourneyV12directionRef04lineG017publishedLineName9monitored0L4Call15monitoringError24originAimedDepartureTime011destinationq7ArrivalS05delay08courseOfeG00pG00pK00tG00tK005routeG015vehicleLocation0Z4Mode0zG0AcA011SBDirectionG0OSg_SSSgAYSbAA0cM0VAA012SBMonitoringO0OSgA9yA17SBVehicleLocationVSgAA13SBVehicleModeOAYtcfC". for 'init(directionRef:lineRef:publishedLineName:monitored:monitoredCall:monitoringError:originAimedDepartureTime:destinationAimedArrivalTime:delay:courseOfJourneyRef:originRef:originName:destinationRef:destinationName:routeRef:vehicleLocation:vehicleMode:vehicleRef:)' at /Users/name/Developer/PROJECT/PROJECT/Models/SBMonitoredVehicleJourney.swift:11:8 error: Segmentation fault: 11struct SBMonitoredVehicleJourney: Equatable, Codable { let directionRef: SBDirectionRef? /// Identifies the Line. let lineRef: String? /// Name or Number by which the line is known to the public. let publishedLineName: String? /// Whether there is real-time information available for journey; if not present, not known. let monitored: Bool let monitoredCall: SBMonitoredCall let monitoringError: SBMonitoringError? let originAimedDepartureTime, destinationAimedArrivalTime, delay, courseOfJourneyRef: String? let originRef, originName, destinationRef, destinationName: String? /// Identifier of Route that Journey follows. let routeRef: String? let vehicleLocation: SBVehicleLocation? let vehicleMode: SBVehicleMode /// Reference to a vehicle let vehicleRef: String? lazy var departureStatus: SBDepartureStatus = { if delay != nil { let startDate = Date() let components = NSDateComponents.duration(from: delay!) let endDate = NSCalendar.current.date(byAdding: components as DateComponents, to: startDate) if let timeInterval = endDate?.timeIntervalSince(startDate) { switch timeInterval { case ...(-60): return .early case 0...120: return .ontime case 120...: return .delayed default: return .noreport } } } return .noreport }() enum CodingKeys: String, CodingKey { case courseOfJourneyRef = "CourseOfJourneyRef" case delay = "Delay" case destinationAimedArrivalTime = "DestinationAimedArrivalTime" case destinationName = "DestinationName" case destinationRef = "DestinationRef" case directionRef = "DirectionRef" case lineRef = "LineRef" case monitored = "Monitored" case monitoredCall = "MonitoredCall" case monitoringError = "MonitoringError" case originAimedDepartureTime = "OriginAimedDepartureTime" case originName = "OriginName" case originRef = "OriginRef" case publishedLineName = "PublishedLineName" case routeRef = "RouteRef" case vehicleLocation = "VehicleLocation" case vehicleMode = "VehicleMode" case vehicleRef = "VehicleRef" } }
18
0
21k
Aug ’22
Disabling App Clip's Initial App Store Notification Banner
We're encountering a UX challenge with the automatic App Store notification banner that appears when users first launch our App Clips (not the App Clip sheet). This notification, which suggests downloading the full app, is creating confusion among our users. We've observed that some users tap the notification instead of completing their intended action within the App Clip, interrupting their workflow. Is there a way to disable this banner?
Replies
0
Boosts
1
Views
506
Activity
Jan ’25
Force blurred NavigationBar?
Hi, Is it possible to control how the navigation bar appears in SwiftUI? When I present a view using NavigationLink, the entire navigation bar becomes transparent and making it hard to differentiate between the items in the navigation bar and the actual content below. I want the Navigation Bar to be blurred.         VStack {                          Map(coordinateRegion: $region, annotationItems: rekoRings.filter({ searchBar.text.isEmpty || $0.name.localizedStandardContains(searchBar.text) })) { ring in                 MapAnnotation(coordinate: CLLocationCoordinate2D(latitude: ring.latitude, longitude: ring.longitude),                               anchorPoint: CGPoint(x: 0.5, y: 0.5)) {                                          NavigationLink(                         destination: RekoRingDetailView(rekoRing: ring),                         label: {                             VStack {                                 Image(systemName: "smallcircle.fill.circle.fill")                                     .frame(width: 22, height: 22, alignment: .center)                                     .foregroundColor(.red)                                                                  if !disableInteraction {                                     Text(ring.name)                                         .font(.caption)                                         .foregroundColor(.primary)                                 }                             }                         })                 }             }             .edgesIgnoringSafeArea(.all)             .disabled(disableInteraction)         }         .add(searchBar)         .onAppear(perform: {             fetchRings()         })         .navigationTitle(Text("Delivery Locations"))     }
Replies
2
Boosts
1
Views
2.0k
Activity
Apr ’23
Segmentation fault: 11 in Xcode 10 beta
Hello,I'm trying to build my app using Xcode 10 beta - but I get an error wich I don't get on the previous versions. Any idea of what it could be?While silgen emitConstructor SIL function "@$S14PROJECT25SBMonitoredVehicleJourneyV12directionRef04lineG017publishedLineName9monitored0L4Call15monitoringError24originAimedDepartureTime011destinationq7ArrivalS05delay08courseOfeG00pG00pK00tG00tK005routeG015vehicleLocation0Z4Mode0zG0AcA011SBDirectionG0OSg_SSSgAYSbAA0cM0VAA012SBMonitoringO0OSgA9yA17SBVehicleLocationVSgAA13SBVehicleModeOAYtcfC". for 'init(directionRef:lineRef:publishedLineName:monitored:monitoredCall:monitoringError:originAimedDepartureTime:destinationAimedArrivalTime:delay:courseOfJourneyRef:originRef:originName:destinationRef:destinationName:routeRef:vehicleLocation:vehicleMode:vehicleRef:)' at /Users/name/Developer/PROJECT/PROJECT/Models/SBMonitoredVehicleJourney.swift:11:8 error: Segmentation fault: 11struct SBMonitoredVehicleJourney: Equatable, Codable { let directionRef: SBDirectionRef? /// Identifies the Line. let lineRef: String? /// Name or Number by which the line is known to the public. let publishedLineName: String? /// Whether there is real-time information available for journey; if not present, not known. let monitored: Bool let monitoredCall: SBMonitoredCall let monitoringError: SBMonitoringError? let originAimedDepartureTime, destinationAimedArrivalTime, delay, courseOfJourneyRef: String? let originRef, originName, destinationRef, destinationName: String? /// Identifier of Route that Journey follows. let routeRef: String? let vehicleLocation: SBVehicleLocation? let vehicleMode: SBVehicleMode /// Reference to a vehicle let vehicleRef: String? lazy var departureStatus: SBDepartureStatus = { if delay != nil { let startDate = Date() let components = NSDateComponents.duration(from: delay!) let endDate = NSCalendar.current.date(byAdding: components as DateComponents, to: startDate) if let timeInterval = endDate?.timeIntervalSince(startDate) { switch timeInterval { case ...(-60): return .early case 0...120: return .ontime case 120...: return .delayed default: return .noreport } } } return .noreport }() enum CodingKeys: String, CodingKey { case courseOfJourneyRef = "CourseOfJourneyRef" case delay = "Delay" case destinationAimedArrivalTime = "DestinationAimedArrivalTime" case destinationName = "DestinationName" case destinationRef = "DestinationRef" case directionRef = "DirectionRef" case lineRef = "LineRef" case monitored = "Monitored" case monitoredCall = "MonitoredCall" case monitoringError = "MonitoringError" case originAimedDepartureTime = "OriginAimedDepartureTime" case originName = "OriginName" case originRef = "OriginRef" case publishedLineName = "PublishedLineName" case routeRef = "RouteRef" case vehicleLocation = "VehicleLocation" case vehicleMode = "VehicleMode" case vehicleRef = "VehicleRef" } }
Replies
18
Boosts
0
Views
21k
Activity
Aug ’22