Post

Replies

Boosts

Views

Activity

Reply to Minecraft quit unexpectedly
Welcome to the forum. You should notice that this forum is for developers, to get help or advice on their developments for Apple platforms. It is not a forum about using apps. You'd better contact directly Minecraft or search on their forums. May be the release you use is not compatible with MacOS beta. You should test again when MacOS 15 is released. Good luck (don't forget to close the thread by marking the correct answer).
Topic: Graphics & Games SubTopic: General Tags:
Aug ’24
Reply to Screen Corner Radius Border
It would be much clearer if you showed what you mean. If I understand however, my guess is that you should design some kind of animation, with the final image being the reduced view… In any case, take care of guidelines: 5.2.5ASR & NR Apple Products: Don’t create an app that appears confusingly similar to an existing Apple product, interface (e.g. Finder), app (such as the App Store, iTunes Store, or Messages)
Topic: UI Frameworks SubTopic: General Tags:
Aug ’24
Reply to PullDown menu shows in reverse order when in landscape
Got the answer https://stackoverflow.com/questions/74372108/how-to-force-the-order-of-uikit-pop-up-menu-button-items Yes it is the expected behaviour, due to the available screen space vertically, in order to display the first menu element in the UIMenu closest to the location of the user interaction. To get fixed order (in iOS 16 and later): positionMenu.preferredMenuElementOrder = .fixed
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’24
Reply to Three important misses in IOS
Welcome to the forum. As you are new here, you should know that's a forum for developers who need help for developing their app. It is not a forum about products. You should either: file a bug report ask support forum: https://discussions.apple.com/welcome I don't know on which keyboard you are typing, but it is stuttering a lot… TrueCaller is available on Appstore. Which keyboard do you mean ? I use different keyboards on iPhone, which have comma. This being said, it is your freedom to use something else than iOS.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’24
Reply to Acceptable app updates frequency?
If we take a look at how Apple is doing, as an interesting indication: main apps (Keynote, Numbers, Pages…) are updated every few months. fast changing, as Xcode is updated every 2 months for release version and every 2 weeks for betas. So, a release every 2 or 3 months is probably a good rhythm (may be faster for the very initial releases when app evolves more rapidly - but not every day, probably every week - or in case of major bug correction need).
Aug ’24
Reply to Plz help
Try to restart in safe mode: https://support.apple.com/en-gb/guide/mac-help/mh21245/mac#:~:text=Turn%20on%20or%20restart%20your,Boot”%20in%20the%20menu%20bar. Start up your Intel-based Mac in safe mode Turn on or restart your Mac, then immediately press and hold the Shift key until you see the login window. Log in to your Mac. You might be asked to log in again. On either the first or second login window, you should see “Safe Boot” in the menu bar.
Aug ’24
Reply to Attempting to add scrubbing to UISlider
I fear it may be a bit tricky. I see a few options: adapt the mouse speed in beginTracking (see the link https://stackoverflow.com/questions/47254745/change-mac-cursor-speed-programmatically) and restore the original value in touchesEnded. But if speed is already at minimum, it will have no effect in continueTracking, modify the mouse position to adjust to the reduced move ; https://stackoverflow.com/questions/70864549/swift-macos-set-mouse-cursor-position you could try to compute thumb position so that it moves only a fraction on mouse movement in func thumbRect by changing let origin = CGPoint(x: (currentLocation?.x ?? bounds.width / 2) - thumbDiameter / 2, y: (currentLocation?.y ?? thumbDiameter / 2) - thumbDiameter / 2) so that x is not currentLocation (mouse position), but the adjusted value. Problem is that you will not be able to move the thumb on the full range…
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’24
Reply to Attempting to add scrubbing to UISlider
OK, so getting thumb out of slider is expected. But I don't understand the logic. At the end, the location during tracking is let location = touch.location(in: self) During update, thumb moves slower, but immediately after the mouse position prevails, which annihilate the effect. You should change the touch position as well depending on speed. Or change the cursor move speed programmatically, to fit with the speed you selected. An implementation here: https://stackoverflow.com/questions/47254745/change-mac-cursor-speed-programmatically
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’24
Reply to Minecraft quit unexpectedly
Welcome to the forum. You should notice that this forum is for developers, to get help or advice on their developments for Apple platforms. It is not a forum about using apps. You'd better contact directly Minecraft or search on their forums. May be the release you use is not compatible with MacOS beta. You should test again when MacOS 15 is released. Good luck (don't forget to close the thread by marking the correct answer).
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Its not possible to grant the admin role on a per app basis?
AFAIK, you would have to create different accounts, because effectively admin has an admin role on the whole account.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Screen Corner Radius Border
It would be much clearer if you showed what you mean. If I understand however, my guess is that you should design some kind of animation, with the final image being the reduced view… In any case, take care of guidelines: 5.2.5ASR & NR Apple Products: Don’t create an app that appears confusingly similar to an existing Apple product, interface (e.g. Finder), app (such as the App Store, iTunes Store, or Messages)
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to PullDown menu shows in reverse order when in landscape
Got the answer https://stackoverflow.com/questions/74372108/how-to-force-the-order-of-uikit-pop-up-menu-button-items Yes it is the expected behaviour, due to the available screen space vertically, in order to display the first menu element in the UIMenu closest to the location of the user interaction. To get fixed order (in iOS 16 and later): positionMenu.preferredMenuElementOrder = .fixed
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to I’m travelling!
Welcome to the forum ? You should read carefully this post to learn how to use it properly: https://developer.apple.com/forums/thread/706527
Replies
Boosts
Views
Activity
Aug ’24
Reply to Would like feedback on handling multiple button presses while live activity intent Is processing
There may be something simpler. use .isDisabled modifier on the button. The closure on the modifier should test a Bool State var (busy) ; this var changes according to the request execution status.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Three important misses in IOS
Welcome to the forum. As you are new here, you should know that's a forum for developers who need help for developing their app. It is not a forum about products. You should either: file a bug report ask support forum: https://discussions.apple.com/welcome I don't know on which keyboard you are typing, but it is stuttering a lot… TrueCaller is available on Appstore. Which keyboard do you mean ? I use different keyboards on iPhone, which have comma. This being said, it is your freedom to use something else than iOS.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Acceptable app updates frequency?
If we take a look at how Apple is doing, as an interesting indication: main apps (Keynote, Numbers, Pages…) are updated every few months. fast changing, as Xcode is updated every 2 months for release version and every 2 weeks for betas. So, a release every 2 or 3 months is probably a good rhythm (may be faster for the very initial releases when app evolves more rapidly - but not every day, probably every week - or in case of major bug correction need).
Replies
Boosts
Views
Activity
Aug ’24
Reply to "The city cannot exceed 35 characters."
The best is to contact Apple Support: https://developer.apple.com/contact/topic/select
Replies
Boosts
Views
Activity
Aug ’24
Reply to AppStorage extension for Bool Arrays
I need to handle arrays of boolean values. There is a very simple solution: convert true / false to "T", "F" and handle as String. map() let do it at once. Convert back when you need to use the Bool values. Here again, map() is your friend.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to I have rejection issues: Healthkit
You should ask the question of firebase forums.
Replies
Boosts
Views
Activity
Aug ’24
Reply to NSAttributedString draw in rect
An idea: use boundingRect(with:options:context:) to test what is the rect for drawing and adjust size until it fits ? Could you also post the code so that we can make some test.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Plz help
Try to restart in safe mode: https://support.apple.com/en-gb/guide/mac-help/mh21245/mac#:~:text=Turn%20on%20or%20restart%20your,Boot”%20in%20the%20menu%20bar. Start up your Intel-based Mac in safe mode Turn on or restart your Mac, then immediately press and hold the Shift key until you see the login window. Log in to your Mac. You might be asked to log in again. On either the first or second login window, you should see “Safe Boot” in the menu bar.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Attempting to add scrubbing to UISlider
I fear it may be a bit tricky. I see a few options: adapt the mouse speed in beginTracking (see the link https://stackoverflow.com/questions/47254745/change-mac-cursor-speed-programmatically) and restore the original value in touchesEnded. But if speed is already at minimum, it will have no effect in continueTracking, modify the mouse position to adjust to the reduced move ; https://stackoverflow.com/questions/70864549/swift-macos-set-mouse-cursor-position you could try to compute thumb position so that it moves only a fraction on mouse movement in func thumbRect by changing let origin = CGPoint(x: (currentLocation?.x ?? bounds.width / 2) - thumbDiameter / 2, y: (currentLocation?.y ?? thumbDiameter / 2) - thumbDiameter / 2) so that x is not currentLocation (mouse position), but the adjusted value. Problem is that you will not be able to move the thumb on the full range…
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Attempting to add scrubbing to UISlider
OK, so getting thumb out of slider is expected. But I don't understand the logic. At the end, the location during tracking is let location = touch.location(in: self) During update, thumb moves slower, but immediately after the mouse position prevails, which annihilate the effect. You should change the touch position as well depending on speed. Or change the cursor move speed programmatically, to fit with the speed you selected. An implementation here: https://stackoverflow.com/questions/47254745/change-mac-cursor-speed-programmatically
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’24