Post

Replies

Boosts

Views

Activity

Reply to get signal strength is not working in ios 16
That's the beauty of private APIs. You use them at your own risk. Maybe switch to checking for the strength using this API instead WiFi: https://developer.apple.com/documentation/networkextension/nehotspotnetwork/1618923-signalstrength Permission is required for obvious reasons: https://developer.apple.com/documentation/networkextension/hotspot_helper
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’23
Reply to Catching SIGTERM in daemon
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html https://developer.apple.com/library/archive/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794 Research unix daemons in terms of how they're designed and architected. https://netzmafia.ee.hm.edu/skripten/unix/linux-daemon-howto.html
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’23
Reply to UITableView reorder does not work when drag/drop continuously
Did you implement the following three table-view properties and protocol conformances? https://developer.apple.com/documentation/uikit/views_and_controls/table_views/supporting_drag_and_drop_in_table_views override func viewDidLoad() { super.viewDidLoad() tableView.dragInteractionEnabled = true tableView.dragDelegate = self tableView.dropDelegate = self navigationItem.rightBarButtonItem = editButtonItem }
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’23
Reply to SwiftUI Timer not working inside Menu bar extra
Change .menuBarExtraStyle(.menu) to .menuBarExtraStyle(.window)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Long Review Time, Scheduled Phone Call
If they think it is a copycat app, they will know best based on automated metrics.
Replies
Boosts
Views
Activity
Mar ’23
Reply to How to add URL instead of ip address in excludedRoutes in NEIPv4Settings?
If it is not documented, then you cannot do it. You must resolve the DNS name to an IP address per the API requirement.
Replies
Boosts
Views
Activity
Mar ’23
Reply to Unable to enroll for Apple Developer Program after lots of efforts
We are not apple support, so wait until they get to you.
Replies
Boosts
Views
Activity
Mar ’23
Reply to Anyone successful with WeatherKIT REST API under heavy load?
Cache the data for a specified time window.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Display UIStepper's `value` instead of `minimumValue at app's launch
Showing some code related to the issue will provide more insight.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to get signal strength is not working in ios 16
That's the beauty of private APIs. You use them at your own risk. Maybe switch to checking for the strength using this API instead WiFi: https://developer.apple.com/documentation/networkextension/nehotspotnetwork/1618923-signalstrength Permission is required for obvious reasons: https://developer.apple.com/documentation/networkextension/hotspot_helper
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to If C static buffer exceed 249440 bytes, dispatch async get EXC_BAD_ACCESS code=2 on Intel simulator
See here: https://www.researchgate.net/post/What-is-the-maximum-size-of-an-array-in-C
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to If C static buffer exceed 249440 bytes, dispatch async get EXC_BAD_ACCESS code=2 on Intel simulator
Isn't returning before creating the buffer a code smell? int do_some_c_stuff(void) { log("Do some logging"); return 0; char buf[249441]; <-- how can we perform a return and still assume this line will be executed? }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to XCODE 14.2 CPP20 CLANG support
Read the Xcode release notes.
Replies
Boosts
Views
Activity
Feb ’23
Reply to Catching SIGTERM in daemon
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html https://developer.apple.com/library/archive/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794 Research unix daemons in terms of how they're designed and architected. https://netzmafia.ee.hm.edu/skripten/unix/linux-daemon-howto.html
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to Rust warp::hyper::client and hyper_tls leads to "decoding error" on MacOS only
Not an Apple product. The maintainers of that project will have to resolve the issue in their time.
Replies
Boosts
Views
Activity
Feb ’23
Reply to DeviceActivityCenter stops monitoring if another Screen Time app starts monitoring during the same schedule
Sounds like expected behaviour to me given the one-app-at-a-time rule of iOS.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to UITableView reorder does not work when drag/drop continuously
Did you implement the following three table-view properties and protocol conformances? https://developer.apple.com/documentation/uikit/views_and_controls/table_views/supporting_drag_and_drop_in_table_views override func viewDidLoad() { super.viewDidLoad() tableView.dragInteractionEnabled = true tableView.dragDelegate = self tableView.dropDelegate = self navigationItem.rightBarButtonItem = editButtonItem }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to ps3 buttons not working in most programs OSX Big Sur 11.6.5
Welcome to the Apple Developer ForumsPost your questions, exchange knowledge, and connect with fellow developers and Apple engineers on a variety of software development topics. For questions about using Apple hardware and services, visit Apple Support Communities or the respective manufacturer support forums for non-Apple products and services.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’23