All Questions
57
questions
0
votes
1
answer
51
views
What's wrong with my uitableviewcontroller under iOS13?
I am dropping iOS 12 support in order to take advantage of SwiftUI in the future version releases —though the new version I am working on (that drops the rewarded ads business model) does not use ...
-1
votes
2
answers
2k
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
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 ...
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 ...
2
votes
4
answers
901
views
How to tell Swift which function signature to use between default optionals
I want to instantiate the root view controller of a Storyboard I created.
To do so I was used to calling -instantiateInitialViewController() from a storyboard.
The thing is since iOS13 there’s a new ...
1
vote
2
answers
592
views
How to stop a UITextField's attributed placeholder text from getting cut off on iOS 13?
I am creating a custom textfield for search bar purpose. I need custom font and font color. Though its working correctly on iOS 11-12.* but on iOS 13 its frame becomes small and thus the placeholder ...
0
votes
1
answer
207
views
Simple UIContextMenuConfiguration causes Unable to simultaneously satisfy constraints
I created a simple ContextMenu
override func collectionView(_ collectionView: UICollectionView, contextMenuConfigurationForItemAt indexPath: IndexPath, point: CGPoint) -> UIContextMenuConfiguration?...
0
votes
1
answer
170
views
UIImagePickerController in iOS 13: Did apple abandon navigation bar customizability?
In iOS 13 some things seem to have changed in terms of customizing the navigation bar appearance. I want to customize the navigation bar of a UIImagePickerController. According to iOS 13 guidelines ...
0
votes
1
answer
148
views
HomeViewController not loading after Firebase Google SignIN in AppDelegate.swift
I have successfully configured google sign in my iOS App using Firebase.
After a successful login, I need to make the UIViewController move to HomeViewController.
The AppDelegate class has "...
6
votes
0
answers
337
views
iOS UICollectionViewDiffableDataSource reloads all data with no changes
I have a simple UICollectionView with 1 section and 1 item type powered by new iOS 13 UICollectionViewDiffableDataSource.
Even with no changes to data source (identical hashValues), ...
0
votes
0
answers
41
views
Why are the colors I assign to UIControls not the colors that show up?
Since iOS 13, the colors getting assigned to UIControls don't seem to be the same colors that ultimately end up getting displayed.
Here is an example that can be copy & pasted into an xcode ...
0
votes
1
answer
100
views
Global changes UINavigationBar background using appearance proxy not working
I'm trying to change some properties of all UINavigationBars in my app using UINavigationBarAppearance. I'm calling the following function in application(_:didFinishLaunchingWithOptions:) in ...
4
votes
1
answer
708
views
Secondary mouse click on iOS13.4
Just playing with the new mouse/trackpad support in iOS13.4 and trying to detect both primary and secondary mouse button clicks.
I can detect them (primary OR secondary clicks) by setting the ...
1
vote
0
answers
326
views
IOS13 Status Bar Background Color doesn't change to transparent after being set
(IOS13) I am trying to implement the functionality that shows the navigation bar and status bar gradually after scrolling down the page (with the following code):
override func scrollViewDidScroll(_ ...
1
vote
0
answers
810
views
becomeFirstResponder is not showing keyboard until touch of any UITextField at least once
Possible solution at the end.
I am developing a UIViewController with three UITextField. The function to open the keyboard when the screen is presented was working for 3 years non-stop, then after ...