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
1 answer
450 views

How to update variable in Singleton pattern

I have singleton class has lan variable .it is simple like this class Settings{ // singelton static let shared = Settings() var lan:String? = "ar" private init(){ ...
Mahmoud Arafat's user avatar
-1 votes
1 answer
482 views

Swift: How can I change backgroundFetchIntervalMinimum with BGAppRefreshTask

I am changing my deprecated function setMinimumBackgroundFetchInterval() to new one BGAppRefreshTask() but every example is using actual-time like this: request.earliestBeginDate = Date(...
Youngmin Park's user avatar
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
1 vote
1 answer
261 views

How to make a shadow on iOS13

I set shadow on NSMutableAttributedString, it works on other version of iOS but not iOS 13, the next is my code let shadow = NSShadow.init() shadow.shadowColor = UIColor.red ...
danfei91'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
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 ...
Stéphane de Luca'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
1 answer
474 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 ...
Stephen501'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

15 30 50 per page
1
2 3 4 5
66