Skip to main content

All Questions

Tagged with
0 votes
0 answers
28 views

How to change TurpleView<_VariadicView.Children> to Custom View?

Several Views were received as 'TurpleView<_VariadicView.Children>'. struct View1: View { var body: some View { VStack { Text("page!") } } } struct ...
OlderPeo's user avatar
0 votes
0 answers
36 views

Trying to use Custom URL for opening my app, APP Delegate is not working

I am using custom url, minimum iOS version is 10, so I am using App delegate. I declared the required thing is info.plist app, is opening fine but, I am not getting callback in logs through app ...
Nishtha Verma'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
785 views

iOS 13 setting content inset on collection view with compositional layout causes jump

I'm working with compositional layout collection views and need to support back to iOS 13, but I'm running into a strange issue when I update the content inset of the collection view. I'm using ...
Mr.P's user avatar
  • 1,420
0 votes
0 answers
564 views

How to show the same object in different sections by using Diffable data sources?

How to show the same object in different sections by using Diffable data sources? Here is the Model :- // MARK: - RecentUsers struct RecentUsersModel: Codable, Hashable { let errorCode: Int? let ...
Shivam Garg's user avatar
0 votes
0 answers
145 views

Search Bar Left Image Tint Change iOS for Dark Mode

Trying to get the left most image icon within the search bar to change color for Dark Mode in iOS 13 Ive tried making a call directly to the searchBar and changing its background color, changing the ...
hawaiiansurfer4's user avatar
1 vote
2 answers
925 views

Insecure.MD5 in iOS13.0 get incorrect result

When I use Insecure.MD5.hash(data: data) to get a md5 result of a data, I found in iOS 13.0 the result is incorrected, this is my code: if let data = "helloworld".data(using: .utf8) { ...
Yosmative's user avatar
0 votes
0 answers
308 views

using SwiftUI, when scrolling, VStack inside Section shrinks and expands

I'm trying to make simple testing app with Buttons and Options for Button action. target is iOS 13.0 for backward compatibility. expected smooth scroll just like other iOS app does, but it stutters. ...
Ggumdori's user avatar
1 vote
0 answers
115 views

App crashed with dyld`__abort_with_payload when using scollviewproxy and @available in iOS 13 SwiftUI

I am developing a new UI for my app and I am going from UIKit to SwiftUI. I want to be able to use a scrollViewProxy to manage my automatic scrolling when for example my view expands beyond the ...
NoosaMaan's user avatar
  • 128
1 vote
0 answers
341 views

SwiftUI different behavior on different iOS versions

I have been developing an app with minimum iOS 13, but whole development process was done on iOS 15. Now when testing the iOS 13 devices, I noticed some problems. Minimalistic example: You have a list ...
Robert Sudec's user avatar
-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() -&...
Ferdinand Loesch's user avatar
1 vote
0 answers
316 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, ...
peetadelic's user avatar
1 vote
2 answers
3k 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) -...
Libor Zapletal's user avatar
2 votes
1 answer
728 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 ...
aFella's user avatar
  • 185

15 30 50 per page
1
2 3 4 5
73