Swift
How to give space dynamically between tabBar items in ios swift
I have a tab bar with 4 tab items but I have to add space between tab items on run time. when the user clicks on any of the second, third, and fourth items the plus button gets added in the middle of[详细]
2022-12-07 20:25 分类:问答Create View Function to Update Content of View
I\'m not sure how to word this, please bear with me. I am trying to create a reusable view that will serve as a confirmation dialog. The dialog will be configurable, but I\'d prefer not to pollute the[详细]
2022-12-07 20:24 分类:问答Swift: type 'any [protocol that conforms to view]' cannot conform to 'View'
I have a protocol that conforms to View: public protocol ProtocolView: View { ..开发者_如何学C. } And then I would like to have a View that takes an array of views that conform to ProtocolView and d[详细]
2022-12-07 19:45 分类:问答Getting all user notifications/observe for new ones
I am trying to get all user notifications (or preferably observe for new user notifications) for my program. What permissions would I need and how would I do this? The answers I fou开发者_JS百科nd are[详细]
2022-12-07 19:14 分类:问答Firebase didRefreshRegistrationToken is not working in iOS Swift
I am implementing firebase push notification and everything working fine. I receive FCM token and Push notification as well. But i need to manage something whenever the FCM token is refreshed/renewed.[详细]
2022-12-07 18:32 分类:问答Loading UIImage's on background thread solves SceneKit memory problems. Why?
Consider the following code: let img = UIImage(named: "myString") if let img = img { mySCNMaterial.diffuse.contents = img[详细]
2022-12-07 18:25 分类:问答ios/swift - [SOAuthorizationCore] canceling now - no SPI authorization delegate
I got a problem need your help. I implement AppleSignIn on web and sign in on WKWebView but I got message below[详细]
2022-12-07 18:14 分类:问答Correct Alamofire retry for JWT if status 401?
Hello. I am trying to make a retry for my Alamofire Interceptor because I work with JSON Web Token. Adapt works great. But the server updates the Access token every 10 minutes after user registration[详细]
2022-12-07 17:58 分类:问答Posts are hiding under the Second Cell In CollectionView
i ma making Swi开发者_如何学Goft app with Xcode and using CollectionViewCell to fetch data from my WordPress Website. i have 2 cells in my CollectionView , one for loading posts and second for Google[详细]
2022-12-07 17:53 分类:问答macos - How to get displayId on specific window
I just learned swift code and try to create screen recorder app in macos im using AVCaptureScreenInput for the recording,[详细]
2022-12-07 17:20 分类:问答