Questions tagged [ios17]

Use for questions specific to Apple's iOS 17 mobile operating system for iPhone and iPad, released in 2023. General iOS questions should use the [ios] tag.

67 questions
0
votes
2 answers

Using protocol type property in SwiftUI

I made a struct to represent a section in the UI. @Observable class Model { struct Section: Identifiable { var id: String { return title } let title: String let…
MetaImi
  • 274
  • 2
  • 13
0
votes
0 answers

iOS 17 memory issue causing app to run out of memory and crash (SwiftUI)

My application was built using SwiftUI, and it is working perfectly smoothly on iOS 16.6 and all the previous versions up to iOS 15.0 But when I tried my application with the iOS 17.0 beta 3 and beta 5 and beta 7 there is always this memory issue…
Anas Alhalabi
  • 104
  • 1
  • 7
0
votes
1 answer

UIActivityViewController no longer displaying application activity icons under iOS 17

I'm just now testing my app under iOS 17 (beta 7). One strange issue I'm seeing is with UIActivityViewController. My app provides several custom application UIActivity instances. Under iOS 17.0 beta 7 on an iPhone 14 Pro simulator, none of the icons…
HangarRash
  • 7,314
  • 5
  • 5
  • 32
0
votes
1 answer

How to install iOS 17 beta simulators in Xcode 15 beta

On the apple developer website I can download Xcode new betas separately from the simulators. I did exactly that. After downloading Xcode (3.41GB) I downloaded the new iOS 17 beta which was 7.47 GB. After installing the new Xcode, it us prompting…
multitudes
  • 2,898
  • 2
  • 22
  • 29
0
votes
0 answers

widge not show on iOS 17 for users

we can use containerBackground to fixit . But this function only for iOS17,which only for XCode 15. But Xcode 15 is still beta now. We can use Xcode beta to archive for appstore.
Alan Luo
  • 159
  • 1
  • 13
0
votes
0 answers

How many conditions can we add to a CLMonitor from WWDC2023?

Apple presented the all-new Core Location Monitor at WWDC 2023. It changes the logic of monitoring for iBeacons with a new approach of adding CLCondition-s for monitoring iBeacon values like UUID, major, and minor. This, I suppose (please do feel…
0
votes
0 answers

How to replicate the back button in Apple's iOS 17 Contact app?

In iOS 17 the navigation bar in the contact app has new back and edit buttons with a solid white font and translucent gray background. Reading through the docs, the closest I've been able to get to this…
Kosaro
  • 365
  • 1
  • 12
0
votes
0 answers

SidebarListStyle no longer displays collapse/expand buttons - Xcode 15 beta 6

With a List embedded in a VStack, in iOS 16 adding a .listStyle(SidebarListStyle()) would add the collapse/expand buttons to each Section. Running Xcode 15 beta 6 and the buttons are no longer displayed on each Section. I found the following New…
nwolfe09
  • 1
  • 3
0
votes
0 answers

PDFKit - PDFPage.characterBounds(at: Int) returns wrong character bounds with iOS 17 beta 5

Apple's PDFKit function PDFPage.characterBounds(at:) returns wrong character bounds running iOS 17 beta 5 / Xcode 15 beta 6 while returning correct data running iOS 16 (or earlier). Has anybody experienced the same issue and/or has found a…
KlausM
  • 193
  • 12
0
votes
0 answers

How to access same SwiftData Model Container inside Observable Store

I am trying to access same model container inside Observable class which i have provided to Scene var body: some Scene { WindowGroup { ContentView() }.modelContainer(for: [Product.self] I can access this model inside View as…
shoji
  • 103
  • 3
0
votes
0 answers

iOS 17 Beta: Location Permissions Reset After Upgrade - Beta Issue or New Change?

I had a variety of location permissions set on iOS 16, ranging from "Once" and "WhileInUse" to "Always" for some apps. However, after upgrading to iOS 17 Beta, all the location permissions were reset. Now, every app prompts for permission as if its…
David Chelidze
  • 1,143
  • 12
  • 19
0
votes
1 answer

Map(coordinateRegion: , showsUserLocation: ) deprecated in iOS 17.0

Any ideas of how to replace this call? It was blindingly useful and has now been deprecated in iOS 17.0. Map(coordinateRegion: $viewModel.region, showsUserLocation: true) This was being fed via: enum MapDetails { static let startingLocation =…
Edward Hasted
  • 3,201
  • 8
  • 30
  • 48
0
votes
0 answers

is there a way to provide iOS version check inside widget extension

I tried to add iOS 17 version check inside WidgetBundle but the widget extension keep on crashing . Getting Thread 1: Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value. After removing the iOS 17 check it works fine. Is…
iroh
  • 23
  • 5
0
votes
0 answers

Does iOS 17 interactive widget views support rendering a pdf document?

I am new to developing widgets for iPads, and I understand that iOS 17 lets developers create interactive widgets for iPads that support buttons and toggles. I have a requirement to display a PDF in a widget using SwiftUI. Does the widget view…
Vidhya Sri
  • 1,773
  • 1
  • 17
  • 46
0
votes
0 answers

Is it possible to navigate to a different widget view on click of a button using iOS 17 interactive widgets?

I am new to developing widgets for iPads, and I understand that iOS 17 lets developers create interactive widgets for iPads that support buttons and toggles. I have a requirement where, with the click of a button, I want to navigate to the next view…
Vidhya Sri
  • 1,773
  • 1
  • 17
  • 46