Post

Replies

Boosts

Views

Activity

Reply to How on earth do I get the actual dimensions of a presented modal view on iPad?
Could you show the complete code so that we can better understand what happens (it would even be better to have a reproductible example) ? Maybe self in self.view.frame.size.width is just referring to the parent view and not settingsView. You could also try const int viewWidth = settingsView.view.frame.size.width; or get the width in the completion handler, to be sure you refer to the correct object.
Topic: UI Frameworks SubTopic: UIKit
Jun ’24
Reply to How on earth do I get the actual dimensions of a presented modal view on iPad?
Could you show the complete code so that we can better understand what happens (it would even be better to have a reproductible example) ? Maybe self in self.view.frame.size.width is just referring to the parent view and not settingsView. You could also try const int viewWidth = settingsView.view.frame.size.width; or get the width in the completion handler, to be sure you refer to the correct object.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Jun ’24
Reply to Why can't use
This post is a complete mess. Is it a forum editor bug or a careless writer ?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Battery Drain issue in ios 17
You'd better ask on Apple support forum: https://discussions.apple.com/welcome Here is a forum for technical questions for app development, not for product related questions. Good luck.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Apple
@Sonseyeon Is it a test ? Is it a joke ? In any case that's a poor first post on the forum. Welcome here however.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Programmatically created NSWindow crashes upon close
You declare dummyWindow inside a function. It is destroyed when you leave the appDidFinishLaunching, even though the window remains on display. Try declaring dummyWindow at the top level.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to How do I generate a document like the definition of an Int type in Xcode?
Just add comments. See here how to add documentation: https://developer.apple.com/documentation/xcode/writing-symbol-documentation-in-your-source-files
Replies
Boosts
Views
Activity
Jun ’24
Reply to I can't verify my address
Welcome to the forum. You wrote 1 / 30. The / is apparently a forbidden character. Replace by 1 - 30.
Replies
Boosts
Views
Activity
Jun ’24
Reply to The Xcode Installer says I need an version of OS X lower than I have
Welcome to the forum. The version reference (1015.7) you give is a bit bizarre. And you likely misread it. You probably have Catalina which is 10.15.7 (the latest MacOS 10 version). But it is much older than MacOS 14. Hence the message you get is logical. Which Mac have you got, to see if it can support MacOS 14 ?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Downgrade IOS 18 vers 17 sans perte de données
Dans un tel cas, je ne fierais pas à un auto sur Internet… Mais je contacterais le support (en demandant un contact téléphone). Autre option: attendre la release iOS 18, charger les prochaines betas et vivre avec les bugs en attendant. PS: c'est toujours risqué d'installer des betas sur un iPhone de travail.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Call Api when user kill the app
Did you try to implement it in AppDelegate function: func applicationWillTerminate(_ application: UIApplication) { // call delete session api }
Replies
Boosts
Views
Activity
Jun ’24
Reply to Asset validation failed (11)
Is it an iOS app ? It seems that SCDynamicStoreCreate is (was?) not available for iOS. Could it be the reason ? https://stackoverflow.com/questions/42998035/scdynamicstorecreate-is-unavailable-not-available-on-ios
Replies
Boosts
Views
Activity
Jun ’24
Reply to How to do a postorder enumeration of a directory?
Could this help: https://stackoverflow.com/questions/34440512/enumerating-directories-iteratively-in-postorder or at least give a direction for searching ?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to API naming consistency
You should file a bug report. It may ring a bell. Who knows.
Replies
Boosts
Views
Activity
Jun ’24
Reply to White text on white background
Almost all of my views have the background color set to "System background color" Does the problem also occur in those views ?   is in dark mode, which I don't use what do you mean ? what do you do to manage dark/light mode ?
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to View appears transparent over tableView, whatever alpha channel
Problem solved programmatically. So I close the thread.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’24