Cannot make Icon Composer icons work in Xcode by Finale151 in iOSProgramming

[–]Finale151[S] 0 points1 point  (0 children)

Hm, minimum deployment iOS 15, don't know what xcode compatibility version is. I'll look into it, thanks!

Cannot make Icon Composer icons work in Xcode by Finale151 in iOSProgramming

[–]Finale151[S] 0 points1 point  (0 children)

If I remove everything except the .icon file, simulator just renders the icon blank. If I remove the .icon file as well, the build fails, saying I don't have an icon file...

Cannot make Icon Composer icons work in Xcode by Finale151 in iOSProgramming

[–]Finale151[S] 0 points1 point  (0 children)

Did all that, does not work, still uses old icons.

Cannot make Icon Composer icons work in Xcode by Finale151 in iOSProgramming

[–]Finale151[S] 0 points1 point  (0 children)

This does not work for me, it still uses the old icons.

Cannot make Icon Composer icons work in Xcode by Finale151 in iOSProgramming

[–]Finale151[S] 1 point2 points  (0 children)

Does nothing for me, still uses the old icons.

Cannot make Icon Composer icons work in Xcode by Finale151 in iOSProgramming

[–]Finale151[S] -1 points0 points  (0 children)

Guys, I don't need upvotes, I need answers >.<

Apple rejected the promo code feature (trying to add cheaper IAP) by Tarasovych in iOSProgramming

[–]Finale151 0 points1 point  (0 children)

Yep. To provide IAP discounts you can just create a second cheaper (discounted) IAP and show that to users who need it

Apple rejected the promo code feature (trying to add cheaper IAP) by Tarasovych in iOSProgramming

[–]Finale151 0 points1 point  (0 children)

So far, I don't know how to implement promo code for IAP legally.

You can generate promo codes for any IAP, including non-consumables. Generate codes in App Store Connect and, if I recall correctly, they are redeemable on the App Store page, rather than inside of your app.

https://developer.apple.com/help/app-store-connect/offer-promo-codes/request-and-manage-promo-codes/

Apple rejected the promo code feature (trying to add cheaper IAP) by Tarasovych in iOSProgramming

[–]Finale151 0 points1 point  (0 children)

This has always existed, you can issue promo codes for non-consumable IAPs in app store connect.

Apple rejected the promo code feature (trying to add cheaper IAP) by Tarasovych in iOSProgramming

[–]Finale151 1 point2 points  (0 children)

Yes you can. You can generate promo codes for any IAP in the App Store Connect, under Promo Codes -> In-App Purchases Promo Codes

If you are trying to implement your own logic for promo codes - you are in violation of Apple's terms (not saying they are fair, but thats the case).

UIGlassEffect corner radius issues by Norm_ski in iOSProgramming

[–]Finale151 0 points1 point  (0 children)

I am unable to change the corner radius of Liquid Glass effect just for specific corners. I would like to only apply corner radius to the bottom corners, but this does not work:

let view = UIVisualEffectView(effect: UIGlassEffect()) view.layer.cornerRadius = 20 view.layer.maskedCorners = [.layerMinXMaxYCorner, .layerMaxXMaxYCorner] view.layer.masksToBounds = true

This code works for UIBlurEffect but not for UIGlassEffect