Questions tagged [ios15]

Use for questions specific to Apple's iOS 15 mobile operating system, released in 2021. General iOS questions should use the [ios] tag.

573 questions
0
votes
0 answers

Properties set in the constructor of a custom UIButton class are ignored on iOS15

I wanted to check if everything's fine with my app on iOS 15. Spoiler alert : no. I've identified a problem with my buttons, so I've downloaded Visual Studio 2022 Preview, and Xcode-beta which comes with iOS 15. Here is my custom UIButton class…
Jonathan F.
  • 2,357
  • 4
  • 26
  • 44
0
votes
1 answer

Optional SwiftUI DatePicker with nil to Date and Date to nil toggle

I'm trying to build a DatePicker that can handle an optional date. I've used this post as a jumping off point... but my code, at present, crashes after just a couple of toggles between nil and Date(). How can I make this code safe? import…
emehex
  • 9,874
  • 10
  • 54
  • 100
0
votes
1 answer

SwiftUI .swipeactions and Core Data

Currently using Xcode 13 and IOS 15. I am using CoreData to display a list of upcoming trips. On each trip I have 2 swipe actions, one to delete the trip, and the second one is to edit the trip. When the Edit button is selected I then trigger the…
diver91
  • 27
  • 5
0
votes
1 answer

How to get correct layout of SwiftUI List Section with header and footer run on iOS 15, but built with iOS 14 SDK?

I have been testing my app (built using Xcode 12.5.1, i.e. iOS 14 SDK) on iOS 15 devices, and layout of SwiftUI Section headers and footers is wrong: there is too much bottom padding and not enough top padding on the header, and not enough top…
Andrew Bennet
  • 2,600
  • 1
  • 21
  • 55
0
votes
1 answer

How to restore focus when presented view controller is dismissed?

I am building an app like Photos where you can scroll through thumbnails of your photos in a UICollectionView and you can tap on one to view that photo full-screen. I'm working to add support for keyboard navigation so you can focus on a photo with…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
1 answer

Is there a way to change the focused index path in a collection view?

I am building an app like Photos where you can scroll through thumbnails of your photos in a UICollectionView and you can tap on one to view that photo full-screen then swipe to move between photos. I'm working to add support for keyboard navigation…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
0 answers

Target Integrity Error while building on iOS 15 Beta 5

While I'm trying to run application on simulator I'm getting below warning Multiple targets match implicit dependency for linker flags '-framework Cordova'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in…
r_krthk
  • 1
  • 2
0
votes
1 answer

Disable SharePlay / screen sharing on iOS 15

iOS 15 introduces the ability for people to share their screen via FaceTime (https://www.apple.com/uk/newsroom/2021/06/ios-15-brings-powerful-new-features-to-stay-connected-focus-explore-and-more/) - from a developer POV, is there a way to disable…
Sam
  • 321
  • 2
  • 12
0
votes
1 answer

Is there any way to build iOS 15 apps with Xcode 12.x?

I'm using MacBook Pro mid 12. When I try to install Xcode 13 I can't do it. Apple says you need to use macOS 11 but my computer doesn't support it. Now I need to update my app to iOS 15. Is there any way to create iOS 15 apps with Xcode 12?
OguzKaanAkyalcin
  • 621
  • 2
  • 8
  • 25
0
votes
1 answer

Could not find keyboard scene delegate for interaction view

Below iOS 13 my UITextField correctly launches a keyboard and lets the user type in their answer. Above iOS 13, textFieldDidBeginEditing() is triggered when I tap on the text field, but the keyboard is not shown, so the user cannot give their answer…
0
votes
1 answer

ios15 Safari- disable opening tab bar on double tap

How I can prevent opening of tab bar every time user double clicks on my web page on new ios 15 safari in portrait mode.
0
votes
1 answer

Using "if #available(iOS 15, *)" within SwiftUI View crashes the app

I'm trying to keep my code for removing list separators in iOS 14 while adopting the new .listRowSeparatorVisibility for iOS 15 onward. extension View { func listRowModifier(color: Color) -> some View { let view = self .frame(maxWidth:…
chrysb
  • 1,351
  • 2
  • 13
  • 20
0
votes
0 answers

IOS 15 beta 2 and beta 3. issue with WKwebview loadFileURL: allowingReadAccessToURL:

I am trying to load HTML file and give access to WEBVIEW to the folder where all the assets are present. [self.webView loadFileURL:URL allowingReadAccessToURL:folderURL]; the HTML file is loaded but no assets are getting loaded. this is happening…
0
votes
1 answer

Gray screen since updating to latest iOS 15 beta, Xcode warning _disableAlpha

Since updating to the latest iOS 15 beta im getting just a gray screen when starting my app. Xcode (also latest beta) shows several times this message in the console since updating: [Foundation] *** -[NSKeyedUnarchiver decodeObjectForKey:]: value…
Moritz
  • 1
0
votes
1 answer

Generate Email QR code with subject and body on iOS 15

On iOS 14 I am using this format to get QR code correctly recognised and subject + body transferred to new email message: mailto:steve@jobs.com?subject=Hello&body=11 On iOS 15 this doesn't work. Is there a new format to use?
Marek H
  • 5,173
  • 3
  • 31
  • 42