Post

Replies

Boosts

Views

Activity

Reply to Cannot find type "..." in scope
Declare your QRScannerController class first... ...then add the extension code, like this: class QRScannerController: UIViewController { var video = AVCaptureVideoPreviewLayer() var qrcodeFrameView = UIView() // this needs to be initialized to something override func viewDidLoad() { super.viewDidLoad() // creating session let session = AVCaptureSession() } } extension QRScannerController: AVCaptureMetadataOutputObjectsDelegate { // add delegate methods here... }
Topic: Code Signing SubTopic: Notarization Tags:
Feb ’22
Reply to iOS app Family Sharing flag
So our users think they can share our subscription in their family. but I'm talking about Family sharing for the app itself, not for in-app subscriptions It's a free app, so anyone can download it, for free. "Family Sharing" is for sharing the subscription. Apple say: You can now enable Family Sharing for auto-renewable subscriptions and non-consumable in-app purchases, allowing users to share their purchases with up to five family members
Feb ’22
Reply to Insert Image into RoundedRectangle()
There are a number of ways you could do this... I would drop the RoundedRectangle, and use the Image as the navigation link Give it some padding Set the background color Set the corner radius NavigationLink(destination: EmptyView()) { Image(systemName: "heart.fill") .padding(100) .background(Color.red) .cornerRadius(25) } Alternatively, if you want to keep the RoundedRectangle (for some other reason) use a ZStack, like this: NavigationLink(destination: EmptyView()) { ZStack { RoundedRectangle(cornerRadius: 25) .fill(Color.red) Image(systemName: "heart.fill") } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’22
Reply to Add badge to an object
Show your code, so people can comment on your work so far.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Cannot find type "..." in scope
Declare your QRScannerController class first... ...then add the extension code, like this: class QRScannerController: UIViewController { var video = AVCaptureVideoPreviewLayer() var qrcodeFrameView = UIView() // this needs to be initialized to something override func viewDidLoad() { super.viewDidLoad() // creating session let session = AVCaptureSession() } } extension QRScannerController: AVCaptureMetadataOutputObjectsDelegate { // add delegate methods here... }
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Bring Quartz Composer back
(If the answer is "nothing", then it isn't coming back.)
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Bring Quartz Composer back
How much would you be willing to pay for it?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to how to use a progress bar
any help? Yep. https://developer.apple.com/documentation/appkit/nsprogressindicator
Replies
Boosts
Views
Activity
Feb ’22
Reply to how to hide uitext invisible
What do you mean by "UItext"?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to WKWebVIew Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Try this: guard let url = URL(string: "https://www.google.com") else {return} Otherwise, "myWebView" must be nil. You could add a diagnostic message, before the error line... print("myWebView: \(myWebView)")
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to iOS app Family Sharing flag
Okay... I'm quoting Apple, and providing a link, but you say I'm wrong. That's fine. Good luck.
Replies
Boosts
Views
Activity
Feb ’22
Reply to iOS app Family Sharing flag
So our users think they can share our subscription in their family. but I'm talking about Family sharing for the app itself, not for in-app subscriptions It's a free app, so anyone can download it, for free. "Family Sharing" is for sharing the subscription. Apple say: You can now enable Family Sharing for auto-renewable subscriptions and non-consumable in-app purchases, allowing users to share their purchases with up to five family members
Replies
Boosts
Views
Activity
Feb ’22
Reply to iOS app Family Sharing flag
Apple say: Please note that once you turn on Family Sharing for an in-app purchases in App Store Connect, you cannot turn it off. See https://help.apple.com/app-store-connect/#/dev45b03fab9 ...so you may need to create a new subscription, with Family Sharing turned off.
Replies
Boosts
Views
Activity
Feb ’22
Reply to How to increase or decrease the probability of an item being picked from an array?
Was that helpful, @TanavSharma?
Replies
Boosts
Views
Activity
Feb ’22
Reply to CoreLocation data across multiple apps
Do you feel that this question has been answered, @Anish.Munirathinam?
Replies
Boosts
Views
Activity
Feb ’22
Reply to Mapping Real Life Object
Have you made any progress on this, @tuskuno
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Custom Apps in Europe for international employees
There is a new option called "Unlisted app distribution", which might suit your case. The app is not listed on the App Store, and is made available by distributing a direct link. See: https://developer.apple.com/support/unlisted-app-distribution/
Replies
Boosts
Views
Activity
Feb ’22
Reply to Insert Image into RoundedRectangle()
There are a number of ways you could do this... I would drop the RoundedRectangle, and use the Image as the navigation link Give it some padding Set the background color Set the corner radius NavigationLink(destination: EmptyView()) { Image(systemName: "heart.fill") .padding(100) .background(Color.red) .cornerRadius(25) } Alternatively, if you want to keep the RoundedRectangle (for some other reason) use a ZStack, like this: NavigationLink(destination: EmptyView()) { ZStack { RoundedRectangle(cornerRadius: 25) .fill(Color.red) Image(systemName: "heart.fill") } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22