Skip to main content

All Questions

Tagged with
1 vote
0 answers
46 views

JavaScriptCore crash during JSObjectCallAsFunction on IOS 13 IOS14 AND IOS 17

The entry function calls of the crash stack are all JSObjectCallAsFunction, but the subsequent crash location is different on each system. We have suspected a memory problem, but the device still has ...
冯浩臻's user avatar
1 vote
1 answer
103 views

iOS 13 ObservedObject is not updating the UI while StateObject doing same in iOS 14

"Resolving UI Update Issues with iOS 13 ObservedObject: Exploring Alternatives to StateObject" "I've explored several alternatives for StateObject, which is only available in iOS 14. ...
Chaudharyyagh's user avatar
1 vote
1 answer
1k views

Objective c: iOS 13+ programmatically setting initially root view controller

I am trying to set an initial root view controller programmatically using SceneDelegate in iOS 14 (no storyboard at all). I have followed https://medium.com/@sapa.tech/xcode-11-3-remove-storyboard-...
Beck's user avatar
  • 15
1 vote
2 answers
3k views

Xcode 12 project with iOS 13 SwiftUI support: SceneDelegate functions not invoked

I had created a project in Xcode 12 with iOS 14 as deployment target (bigger project). After some time I realized that I had to also be able to support iOS 13 devices. My project uses SwiftUI. It is ...
gosr's user avatar
  • 4,668
0 votes
2 answers
273 views

Error unarchiving NSAttributedString on iOS13 with NSKeyedUnarchiver when NSTextAttachment is used

I archive an NSAttributedString, which contains an image with NSTextAttachment on iOS14 and noticed, that unarchiving it on iOS13 fail. On iOS14 the unarchive is successful. The error logged is this: ...
Rainer Schwarze's user avatar
5 votes
1 answer
2k views

System Image for UIButton appears in iOS14, but not in iOS13

I set system images for UIButtons and also in the tab bar. This works for iOS 14, but on iOS 13 the images are missing. What could be the reason, for the system images to be missing on iOS 13? Details:...
Rainer Schwarze's user avatar
0 votes
1 answer
480 views

How can I use Core Data value from picker? #SwiftUI #CoreData

struct PickerView: View { var items0 : [PageName] @State var selectedPage: PageName? init(items0: [PageName]) { self.items0 = items0 self._selectedPage = State(initialValue: items0.first) } ...
Taeeun Kim's user avatar
  • 1,201
0 votes
2 answers
123 views

iOS App Development: Background Image on entire screen including the top time row

I am looking for documentation on how to set a background image on specific parts of the app. More specifically: I have not yet found a way how to add a background image that covers the entire screen ...
Andrea Anderheggen's user avatar
0 votes
0 answers
129 views

iOS 13 Transparent Toolbar

I'm trying to recreate the iOS13 Reminders toolbar appearance but am struggling with the translucent transition. If I change the backgroundImage and shadowImage to an empty image I can recreate the ...
Ingmar van Hulzen's user avatar
1 vote
0 answers
88 views

Distinguish between iPad and mac on iPad with iOS 13+

Since iOS 13 iPads identify themselves as Macs in the user agent. Unfortunately I have a web service that DOES NOT WORK on an iPad. It is not my service, not my code, and I can't have any detection or ...
Jay2001's user avatar
  • 59
0 votes
0 answers
259 views

HTML text with underline has unexpected appearance with attributed string in version iOS 14

I am trying to use the HTML as the content of UILabel but getting a weird issue in iOS 14 that the underline color is getting changed as per the text color. I am using the following code ViewDidLoad ...
Ayush MISHRA's user avatar
1 vote
1 answer
739 views

Get Font.Weight in iOS 14

In iOS 13 and low I got Font.Weight using this extension for UIFont var weight: UIFont.Weight { guard let traits = fontDescriptor.object(forKey: .traits) as? [UIFontDescriptor.TraitKey: Any], let ...
Artem's user avatar
  • 13
0 votes
1 answer
161 views

Button doesn’t pass through touches to collection view cell on iOS 14

I noticed some strange behavior. I got CollectionViewCell and UIButton in its contentView. I implemented contextMenuConfigurationForItemAt method, and it works fine on iOS 13. But when I try to test ...
Egor  Kolyshkin's user avatar
0 votes
0 answers
267 views

UILabel - iOS 14 some words are going to new line as compare to iOS 13

I have observed one issue where UILabel's text is going into a new line in iOS 14 and it looks different for iOS 13. I checked if there are any changes in the font or typography in iOS 14 but didn't ...
Jarvis's user avatar
  • 1
0 votes
0 answers
472 views

What is the order of unit test cases in XCode 12?

Note: Answers to similar, existing questions are unfortunately hopelessly outdated and based on older versions of XCode. I created this question because I could not find an answer that was later than ...
Winston Du's user avatar

15 30 50 per page