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.

iOS 14 is the fourteenth version of Apple's iOS mobile operating system. Its beta version was announced at the company's Apple Worldwide Developers Conference (WWDC) on 22 June 2020. The ios14 tag should be used for questions specific to Apple's iOS 14 operating system. General iOS questions should use the tag.

Notable new features

Excerpt from https://www.apple.com/ios/ios-14-preview/:

  • Widgets on the Home Screen
  • Compact calls
  • Picture in Picture
  • Maps: Cycling directions, Electric vehicle routing, Guides
  • Siri: Compact design, Greater knowledge, Web answers, Send audio messages
  • Home: Suggested automations, Home status, Adaptive Lighting, Activity Zones, Face Recognition
  • Safari: Translation, Password monitoring, Privacy Report
  • Car keys and CarPlay: Car keys in Wallet, Share and manage keys, Power reserve, CarPlay wallpaper and new app types
  • AirPods: Spatial audio, Battery notifications, Automatic switching, Headphone Accommodations, Audio Sharing for Apple TV
  • App Clips
  • Privacy: Privacy information on the App Store, Recording indicator, Upgrade to Sign in with Apple, Approximate location
  • ARKit 4
  • Set default email and browser apps

Release notes: https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14-beta-release-notes

1139 questions
25
votes
2 answers

Share data between main App and Widget in SwiftUI for iOS 14

@main struct ClockWidgetExt: Widget { private let kind: String = "ClockWidgetExt" public var body: some WidgetConfiguration { StaticConfiguration(kind: kind, provider: Provider(), placeholder: PlaceholderView()) { entry in …
codingManMAx
  • 279
  • 1
  • 3
  • 4
25
votes
4 answers

How to pass @namespace to multiple Views in SwiftUI?

I'm playing with the new Xcode 12 beta & SwiftUi 2.0. .matchedGeometryEffect() modifier is great to do Hero animations. There is a new property @Namespace is introduced in SwiftUI. Its super cool. working awesome. I was just wondering if there is…
Azhagusundaram Tamil
  • 2,053
  • 3
  • 21
  • 36
24
votes
7 answers

Flutter iOS 14.0 build error: Failed to register observatory port with mDNS

I am implementing a mobile app using Flutter. When I try to run the app on iOS real device from Xcode, I get this error: [VERBOSE-2:FlutterObservatoryPublisher.mm(115)] Failed to register observatory port with mDNS. The app runs fine as long as the…
Amani Elsaed
  • 1,558
  • 2
  • 21
  • 36
24
votes
6 answers

iOS 14 SwiftUI Keyboard lifts view automatically

I am using TextField in my view and when it becomes the first responder, it lefts the view as shown in the below GIF. Is there any way I can get rid of this behavior? Here is my code NavigationView(content: { ZStack{ …
Malav Soni
  • 2,739
  • 1
  • 23
  • 52
24
votes
3 answers

How to reset intent extension configurations in WidgetKit

I have an application where a user can login. If a user is logged in, then I display a placeholder for my widget and it's configurable through an intent extension. The configuration has two options: the first option depends on the username of the…
K.A.Q
  • 469
  • 4
  • 13
24
votes
2 answers

iOS 14 Widgets: How to create different layouts for every widget size family?

I want to create different layouts for each widget size (i.e. small, medium, large). How can I branch my code according to widget's size?
Feridun Erbaş
  • 573
  • 1
  • 6
  • 19
24
votes
2 answers

iOS WidgetKit: remote images fails to load

I'm observing a bizarre thing: in the new widgets far too often remote images are not being displayed even though the image has been successfully loaded and placed in cache. For image downloading I've tried: SDWebImageSwiftUI Kingfisher SwURL All…
Konstantin Loginov
  • 15,802
  • 5
  • 58
  • 95
23
votes
2 answers

Xcode 12 iOS 14 Widget without SwiftUI

Is it possible to create Xcode widget in Xcode 12 but without the use of SwiftUI and instead use XIB files to construct the Widget UI?
Vlad
  • 5,727
  • 3
  • 38
  • 59
22
votes
3 answers

CoreML Memory Leak in iOS 14.5

In my application, I used VNImageRequestHandler with a custom MLModel for object detection. The app works fine with iOS versions before 14.5. When iOS 14.5 came, it broke everything. Whenever try handler.perform([visionRequest]) throws an error…
Tuan Do
  • 283
  • 1
  • 9
22
votes
1 answer

Launch Screen Added from Info.plist is not working for SwiftUI 2.0 in iOS14.0

I have added Launch Screen Image as well as background color for launch screen from info.plist which is available in SwiftUI 2.0 or iOS 14. But My Launch Image or the background color does not show while launching the app in simulator iphone 12 max…
MD Sazid Hasan Dip
  • 1,425
  • 2
  • 14
  • 29
22
votes
5 answers

Cordova on iOS14 shows iOS keyboard instead of native HTML date-picker

When upgrading to iOS14, the HTML5 embedded date-picker ceases to work in my app. The iOS keyboard pops up instead of the usual native browser date-picker. Is this a bug? I can manage to replicate the behavior by creating a new app in Cordova 9…
Ray Hammond
  • 221
  • 2
  • 4
22
votes
7 answers

An extra UITableViewCellContentView overlay appears in a TableView on iOS 14 preventing taps, but works fine on iOS 13

On an iOS 14 device compiled with XCode 12 an extra UITableViewCellContentView is appearing above the content of the table view preventing any of the buttons underneath it from being tapped. This only appears in iOS 14. It does not appear in iOS 13.…
Ravi Damani
  • 296
  • 2
  • 6
22
votes
6 answers

Cannot find TestView in scope

I am seeing the following error in iOS14, I am not sure if it is a bug or a user error :-) I appreciate it is still in beta, so I will post this in the developer forums as well. I am seeing the following error come up when I make a macOS app in…
jwknz
  • 6,598
  • 16
  • 72
  • 115
22
votes
11 answers

All Image/Fast Image in React Native app not working on iOS 14 beta and Xcode 12 beta

I've upgraded my iPhone device to iOS 14 beta and Xcode 12 beta. Then all Image/Fast Image on my React Native project can not show (which work well on previous iOS 13 and Xcode 11.5).
EmBeCoRau
  • 327
  • 1
  • 4
  • 14
21
votes
2 answers

Accessing AppState in AppDelegate with SwiftUI's new iOS 14 life cycle

I'm using SwiftUI's new app lifecycle coming in iOS 14. However, I'm stuck at how to access my AppState (single source of truth) object in the AppDelegate. I need the AppDelegate to run code on startup and register for notifications…
Mister22
  • 213
  • 2
  • 6
1 2
3
75 76