Questions tagged [ios13]
The iOS13 tag should be used for questions specific to Apple's iOS 13 operating system. General iOS questions should use the iOS tag.
2,121
questions
-1
votes
2
answers
42
views
Calculating Wi-Fi strength problematically [duplicate]
I want to get the device Wi-Fi strength, but found no straightforward way to accomplish this
Right now I have this which used to work before iOS 13 however now I get this crash.
func wifiStrength() -&...
0
votes
1
answer
28
views
How do I change the statusBarStyle using the statusBarManager in iOS 13.0+
I am trying to change the status bar style in my iOS 13.0 app but when I use the code;
UIApplication.shared.statusBarStyle = .lightContent
I get the warning in Xcode;
'statusBarStyle' was ...
0
votes
0
answers
24
views
Universal Links: How to exclude paths in iOS 13?
I have uploaded the AASA file as below with excluded paths. But all the paths opened as Universal links. Can anyone help me what is the issue here?
"applinks": {
"details": ...
1
vote
0
answers
36
views
PDFPage thumbnail (UIImage) does not respect PDFPage orientation in iOS 13 (Xcode 13.1)
Description
I am having issue with UIImage "generated" from PDFPage via method .thumbnail(of:for). UIImage, which I later display in UIImageView, does not respect rotation of the PDF page, ...
0
votes
1
answer
180
views
Manually invoke context menu in collectionView for cell
I implemented methods for context menu with delegate methods like this:
func collectionView(_ collectionView: UICollectionView, contextMenuConfigurationForItemAt indexPath: IndexPath, point: CGPoint) -...
0
votes
2
answers
106
views
SwiftUI: Create a list of mx2 column grid of images on iOS 13 with single selection
I'm new to SwiftUI and I'm trying to display a list of images from API as mx2 grids on iOS 13. I was able to create the grid and also able to download the images. Now I have 2 issues, all cells are ...
0
votes
0
answers
11
views
iPadOS: UISplitViewController's detail view controller becomes grey when soft keyboard is moved over onto it
I am working on an internal app for factory managers. As shown in the image (link here), when the soft keyboard over-lay is moved from left to right or right to left, over the detail view controller, ...
0
votes
0
answers
82
views
Not able to receive push notification for critical alert on iOS 13 device
I am using critical alert in my application.
We tested one scenario on iOS 13, iOS 14 and iOS 15
Steps:
1: Allow Notification in app settings is OFF
2: Critical Alerts in app settings in ON
3: Device ...
0
votes
0
answers
29
views
SearchController doesnt show when i use popViewController
I have a problem on iOS 13.
When I go to the controller, the navigation bar + search controller is displayed perfectly.
Then I switch to another controller and go back, the search controller stops ...
1
vote
1
answer
159
views
iOS 13 UIToolBar Style
I am trying to create a tool bar for the number pad I am using in swift, but am getting this warning with the following code:
'blackTranslucent' was deprecated in iOS 13.0: Use UIBarStyleBlack and set ...
0
votes
1
answer
163
views
How to resolve 'scanLocation' was deprecated in iOS 13.0?
When trying to use a Scanner I am getting the warning that 'scanLocation' was deprecated in iOS 13.0.Apple's documentation for Scanner does not even mention the deprecation, let alone suggest what has ...
0
votes
1
answer
45
views
Detecting subscription details when restoring in-app purchase
Normally I sort out and investigate my coding issues, however, this one has stumped me and I have spent a day trawling through stackoverflow, github, youtube, apple developer documentation to no avail....
0
votes
0
answers
27
views
Same code but different layout on ios emulator at ios 13 and ios14
I'm a new of iOS developper.
I'm trying to develop app by SwiftUI framework.
And I'm using Xcode11.
I run below code of tutrial on emulator ios13 and ios14.
import SwiftUI
struct HomeView: View {
...
0
votes
1
answer
68
views
Disable Tab Bar storyboard appearance setting programmatically
My app is required to be iOS 12.0 compatible and has a tab bar. Since iOS 13.0, the UITabBarAppearance() can be used to change its appearance. In the storyboard, I have Standard selected as ...
0
votes
1
answer
40
views
Why the view.safeAreaInset is same for Opaque and Transparent UINavigationBarAppearance?
When we use the old way of making the navigation bar translucent or opaque using isTranslucent property on the navigation bar, the view's safeAreaInset returns some value other than 0 for the ...
2
votes
1
answer
173
views
How to get SubscribeOn flatMap operator for iOS 13?
This code does not compile on iOS 13 because flatMap is available only in iOS 14. How to extend SubscribeOn to have flatMap operator?
func f1(_ value: Int) -> Future<Int, Error> {
Future {...
0
votes
1
answer
181
views
IOS 13 webview keyboard messes up with webview display
I am displaying this contact form inside my webview but when I click on the bottom most text area it focuses on it and moves the point of view into the center ( I think this is a normal / desirable ...
3
votes
0
answers
73
views
When will scene(openURLContexts) or scene(willConnectTo) have multiple urlContexts?
Both scene(_:openURLContexts) and scene(_:willConnectTo:options:) (through UIScene.ConnectionOptions) are given a Set of UIOpenURLContext's.
I was wondering in what situations would there be more than ...
1
vote
1
answer
115
views
It is possible to share content to specific social network without UIActivityViewController in iOS 13 and opens directly needed extension?
Our design team decided to use a custom layout for social sharing. For example, it will have 2 buttons on social networks (Telegram and Twitter for example). After deprecating a Social framework (iOS ...
0
votes
0
answers
5
views
Increase UITableViewCell as per UIView that I would be going to add as subview
I got access to maintain an old app. Same set of UITableViewCell are declared with different names at multiple places on multiple UITableViews.
I have to refactor the code.
I am thinking to convert ...
0
votes
0
answers
103
views
React-native-youtube-iframe not working in iOS 13
When trying to use the library : react-native-youtube-iframe it is working in iOS 14 but in iOS 13 it is keep loading
0
votes
1
answer
78
views
Unable to check DeviceMotionEvent permission state
Is it possible to check if DeviceMotionEvent permission has already been granted or not? And how we can change the request alert text from "localhost would like to access motion and orientation&...
0
votes
0
answers
42
views
How to remove the cover layout from UIPickerView
My question is asking how to remove the red part below this pic
UIPickerView red color
I tried set the pickerview.backgroundcolor and all the subview of pickerview still not working.
...
0
votes
1
answer
421
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-...
1
vote
0
answers
70
views
How to create two section arrange by horizontal at UICollectionView
I want to arrange UICollectionView cell like this:
picture1
but, i really got like this:
picture2
What should I do to arrange cell layout as shown in picture 1?
private func twoRowLayout() -> ...
0
votes
1
answer
35
views
Application starts from Home Screen if app remains in the background for more than 30 seconds instead of showing the screen when it went to background
My iOS application is kind of messaging app, so user can send audio, video, images, etc. When user typing the message and app went background for more than 30 seconds then app launches from Home ...
0
votes
0
answers
56
views
IOS13 Swift Facebook Login
I am using Facebook Swift Package. Completed all configuration, but couldnot find where i should put this code. Because there is no UIViewController anymore
// Swift
//
// Add this to the header of ...
4
votes
1
answer
213
views
Still receives INStartAudioCallIntent when drop support for iOS 12(INStartCallIntent)
I've meet a strange issue when dropping the support for iOS 12. When handle the user activity from AppDelegate continue userActivity, Although we drop INStartAudioCallIntent and INStartVideoCallIntent ...
1
vote
2
answers
1k
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 ...
0
votes
0
answers
117
views
SwiftUI extension on a Binding
I have the following extension on Binding:
@available(iOS 13.0, *)
private extension Binding {
@available(iOS 13.0, *)
func didSet(execute: @escaping (Value) -> Void) -> Binding {
return ...
0
votes
2
answers
117
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:
...
1
vote
2
answers
772
views
How to obtain Firebase Installation ID to test Firebase In-App Messaging in iOS 13+?
I'm trying to implement Firebase In-App Messaging SDK within my iOS Project.
I already added by project in Firebase console and created a new Campaign. I want to test if the campaign is being ...
4
votes
1
answer
777
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:...
0
votes
1
answer
125
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)
}
...
0
votes
2
answers
139
views
iOS13: Universal Links not opening if the app was not running
would appreciate any help. We have implemented handling of universal links in our app and I am struggling with the following issues:
Universal Links opens when the app is running in the background (...
4
votes
2
answers
1k
views
ITMS 90433 Error for uploading app: Xcode 12.4
When I submit my app to App Store as TestFlight, my app goes invalid binary. Error message is give as follows:
....
ITMS-90433: Invalid Swift Support - The file
libswiftAVFoundation.dylib doesn’t ...
0
votes
2
answers
36
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 ...
2
votes
1
answer
202
views
How to reconnect a URLSessionWebSocketTask once its cancelled?
I am cancelling or disconnecting an active WebSocket task using the following code
socket.cancel(with: .goingAway, reason: nil)
Is there any way to reconnect back or should we create a new ...
0
votes
0
answers
66
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 ...
1
vote
0
answers
44
views
iOS 13 - In-App Purchase doesn't work anymore?
Since some days, on my apps, the ratio in-app sales/users dropped completely on iOS 13 (8% users and <2% sales, probably renewals).
At the same time, I noticed on my iOS 13.7 iPhone that the IAPs ...
0
votes
1
answer
341
views
How to get the configurations of current running XC Test plan programmatically?
Problem Statement:
My Test flow will depend on the type of configuration that is currently running for a test plan.
I want to get the configuration name and environment variable entries of the ...
0
votes
0
answers
37
views
CSS infinite animation stops moving when the component is toggled
Reproduction link
https://codesandbox.io/s/infinite-animation-bug-vanilla-xi5uh?file=/src/index.js
Code
root/
├── src/
│ ├── styles.css
│ └── index.js
└─╴index....
5
votes
2
answers
2k
views
Swift UI: UIHostingController.view is not fit to content view size at iOS 13
I want to update Swift UI View according to the communication result.
But UIHostingController.view is not fit rootView size at iOS 13.
The same thing happens when I try with the sample code below.
I ...
1
vote
0
answers
29
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 ...
0
votes
0
answers
103
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
...
0
votes
1
answer
38
views
UIControl tracking and iOS 13 presentation style cards not working together
I am using AORangeSlider which is a subclass of UIControl that overrides the beginTracking, continueTracking and endTracking methods.
When this control is added to a viewController, which is presented ...
1
vote
1
answer
230
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 ...
-1
votes
1
answer
145
views
Black screen on Launch: How to support all versions iOS 10 and 13 above in App and Scene Delegate
My app supports older versions of iOS 10.0 and above. When I try to launch my app in iOS 13, it shows a black window. It does configure initial ViewController and shows labels when I remove the scene ...
4
votes
0
answers
151
views
Convert SPM modules to .xcframework
My iOS project is split up in several SPM modules. Now I would like to distribute some of them as .xcframework.
Is there a way to automatically create .xcframeworks out of the SPM modules? Or some (...