Questions tagged [ios14]
Use for questions specific to Apple's iOS 14 mobile operating system, released in 2020. General iOS questions should use the [ios] tag.
ios14
1,140
questions
-1
votes
0
answers
18
views
er ri": 2os":lume": 100, "cbrd": "generic", "cbr": "Chrome Mobile", "cbrv
{
"ns": "yt",
"el": "details",
"cpn": "Subjective",
"ver": 2,
"cmt": "47.759",
"fmt": "243"...
0
votes
2
answers
57
views
How to keep NavigationLink active while closing or switching to another app in SwiftUI
I have a problem when navigating to the details page, but when I try to open another application or close the application, the navigation link that was initially active suddenly closes by itself. ...
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 ...
0
votes
0
answers
153
views
Create custom interactive tooltip in swiftUI
I'm trying to create a custom interactive tooltip view for SwiftUI that should support from iOS 14. The goal is to create a reusable view, preferably via modifier which will present the tooltip on the ...
1
vote
1
answer
72
views
Is it possible to disable the back navigation menu in SwiftUI?
When we long tap on the back button it shows menu. I know it can be hidden in UIKit using navigation item, but is there any way for SwiftUI?
0
votes
0
answers
186
views
Set UITableViewCell secondaryText multiple lines
I'm using UIListContentConfiguration to config cell properties on iOS 14.
The cell's style is standard Right Detail. I was able to set the detail text field displaying in multiple lines on the right ...
0
votes
0
answers
96
views
Orientation issue occurs While Rotate landscape mode to portrait mode In SwiftUI
On a (iOS Minimum Delpolyment target 14.0) following leads to an error:
When I created the TextField using UIViewRepresentable, I successfully assigned its value to the @State variable. The rotation ...
0
votes
1
answer
143
views
Get height of a view inside ZStack in SwiftUI
I'm trying to get the height of a popup view that I added in my main content view. I tried using geometry reader, but it seems to be returning full height of the view. Am I doing something wrong here?
...
0
votes
1
answer
505
views
Resolve: background(alignment:content:) is only available in iOS 15.0 or newer
I have the following to get the size of a View:
struct SizeKey : PreferenceKey
{
static var defaultValue: CGSize = .zero
static func reduce(value _: inout CGSize, nextValue _: () -> CGSize)...
0
votes
0
answers
150
views
How to add axis titles with DGCharts in Swift?
We are updating our code to work with DGCharts v.4.0 (previously Charts) and our previously working solution (see below) for adding titles for the x and y axis is now no longer working, as "...
0
votes
0
answers
35
views
SwiftUI Interation with Widget on iOS 14
I'm looking for a way to add interaction with widgets on iOS 14, but the results are all on iOS 17. Can anyone who has handled widget manipulation on iOS 14 give me a reference?
1
vote
0
answers
391
views
Is there a way that I can use to create a Dynamic Sheet Height using in SwiftUI (iOS14.7)?
I tried this aproach https://stackoverflow.com/a/66925913/15450928 but is seems I can't center my graphical date and time picker.
Maybe someone has an idea about it.
This is what I use:
.sheet(...
0
votes
1
answer
75
views
conflicts with navigation view on SwiftUI
i have some trouble with my app when switching between views and after many attempt the screen become white then the app become unusable, how can i resolve this problem thanks in advance.
my app ...
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. ...
0
votes
1
answer
87
views
Issue with Combine when migrating to iOS 14
I have an issue when migrating from iOS 13 to iOS 14.
The following code was compiling fine before:
func fetchOptions(
forLatitude latitude: Double,
andLongitude longitude: Double,
ofTypes ...