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
23
votes
7 answers

How to remove section header separator in iOS 15

In iOS 15, UITableView adds a separator between a section header and the first cell: How can I hide or remove that separator? A few notes: The header is a custom view returned from tableView(_:viewForHeaderInSection:). When looking at the view…
Hesham
  • 5,294
  • 3
  • 34
  • 48
21
votes
7 answers

Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES Xcode 13

I have updated my project to Xcode 13 and iOS 15. Now the app is crashing with an error related to autoresizing masks in UITableViewCells. I have tried to change UITableViewCells Layer property in the inspector to Inferred and followed this post,…
conradomateu
  • 213
  • 2
  • 7
21
votes
1 answer

iOS 15 Crash when initialize NSAttributedString with HTML string

I have an extension to convert HTML string to NSAttributedString. After iOS 15 is released, I've seen a lot of crashes from my user. All those crashes are on iOS 15 and occur on the main thread. Here is a typical crash report from…
Chen Zheng
  • 211
  • 2
  • 4
21
votes
6 answers

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'Pageboy' from project 'Pods')

I am getting the below error when I build my iOS project in Xcode 13.0 for Simulator 15 with Swift 5.5
umar farooq
  • 350
  • 1
  • 2
  • 8
20
votes
4 answers

ATTrackingManager stopped working in iOS 15

ATTrackingManager.requestTrackingAuthorization stopped working on ios 15. Application rejected from Apple.
Tajinder singh
  • 738
  • 1
  • 9
  • 18
20
votes
6 answers

Disable pull-to-refresh in iOS 15 Safari

iOS 15 is out and so is the new release of Safari that brings the ubiquitous pull-to-refresh. Like it or not, single-page apps don't like that too much. Here's how to disable it on Chrome for iPhone: Disable Chrome's pull-to-refresh on iPhone Any…
VH-NZZ
  • 5,248
  • 4
  • 31
  • 47
19
votes
2 answers

Disable autocorrect on an iOS 15 SwiftUI searchable search bar

I have a SwiftUI and Core Data app and have implemented the new iOS 15 search bar API. .searchable(text: $searchText) // This is a modifier under my List view However, the search bar has autocorrect, which unexpectedly changes the search when the…
Chris
  • 4,009
  • 3
  • 21
  • 52
19
votes
1 answer

In iOS 15, 'throwing -10878' occurs many times when connecting AVAudioPlayerNode to mainMixerNode

I encountered a problem when executing the following code on iOS 15. This occurs on both a simulator and a real device. In addition, this doesn't occur on iOS 14. import AVFoundation class MyAudio { let audioEngine: AVAudioEngine let…
semisagi
  • 261
  • 2
  • 9
18
votes
7 answers

Why does SwiftUI UIHostingController have extra spacing?

I'm trying to add a SwiftUI view to UIKit view using UIHostingController and it shows extra spacing(This sample is made to simulate an issue on a production app). Here is the screenshot. Layout overview: View UIStackView UIImageView …
Daniel
  • 507
  • 6
  • 22
18
votes
2 answers

On iOS 15, the UIHostingController is adding some weird extra padding to its hosting SwiftUI view (_UIHostingView)

UPDATE: 2022-09-26 This issue has been fixed on iOS 16. Although the issue is still present on iOS 15 even when the project is compiled with the iOS 16 SDK. Original question: On iOS 15, the UIHostingController is adding some weird extra padding to…
Luis Ascorbe
  • 1,985
  • 1
  • 22
  • 36
17
votes
5 answers

Copy/Paste not working in XCode 13 Simulators with M1 Macbook Pro

Copy/Paste not working on Xcode 13 with M1 Macbook Pro simulators. It was working on a normal Mac PC.
Bhautik Patoliya
  • 2,573
  • 2
  • 9
  • 12
17
votes
1 answer

UIButton image behavior changed in iOS 15?

My code is very simple; I have an outlet to a UIButton, button, and I am setting its image in code: let jack = UIImage(named:"jack.png") self.button.setImage(jack, for:.normal) The problem is that this is not behaving as I expect. I expect…
matt
  • 515,959
  • 87
  • 875
  • 1,141
16
votes
2 answers

Xcode 13/iOS15 is taking longer than expected to launch, it shows a LLDB related message

I am using Xcode 13 on a Macbook Pro (Intel/2019) with macOS Big Sur 11.6 I am building and launching the app on a connecting iPhone X running iOS 15.0, I am also running a UI test suite based on XCUITest while I do that. The app takes extremely…
nChetan
  • 193
  • 1
  • 11
15
votes
4 answers

iOS 15 tab bar transparent after scrolling to the bottom

How to fix iOS 15 tab bar transparent after scrolling to the bottom:
Vlad Khambir
  • 4,313
  • 1
  • 17
  • 25
14
votes
1 answer

Setting pointer-events dynamically on iOS 15 Safari is unreliable and unpredictable

In Safari on iOS 15, links that are in a container that has pointer-events: none; applied, don't become tappable when pointer-events is set to all dynamically at a later stage. Actually, in some cases they do, but it's very unpredictable. For…
Senne
  • 455
  • 3
  • 11
1
2
3
38 39