Profile Photo
Hi,   I recently started developing for iOS and I ran into my first problem. I'm trying to provide a searchbar inside a NavigationController scene, the results are shown in a different view because I'm using the searchResultsController method, where another TableView gets called with all results in it. From there you can click on a certain result… (Show more)
in Getting Started
Profile Photo
I've noticed that sometimes, when pressing a notification in the  notification center, it opens my app but does not clear the notification from the notification center. If I go to the notification and tap it again, nothing happens. I also see this logs out:   Tried to send response for action com.apple.UNNotificationDefaultActionIdentifier more… (Show more)
in Notifications
Profile Photo
My app posts a local notification to the UNNotificationCenter & I  attach an image with the notification. If I press the notification in the notifcation center to launch my app, my UNUserNotificationCenterDelegate gets hit with -userNotificationCenter:userNotificationCenter:withCompletionHandler:   If I dig for the attachment I provided the… (Show more)
in Notifications
Profile Photo
I'm trying to use the same image on multiple notifications in a particular notification "group" (same threadIdentifier).  As far as I can tell, if multiple notifications have attachments that point  to the same file url, the image will only show up on one notification. It seems kind of silly to write copies of the image file on disk for each… (Show more)
in Notifications
Profile Photo
So, I'm trying to do something which I think would make sense. My app pulls in content. Say 10 journal entries from a server that belong to a particular folder group. Now all 10 should get a notification (so 1 UNNotificationContent for each). All 10 UNNotificationContent instances  share the same threadIdentifier. They should get stacked in the… (Show more)
in Notifications
Profile Photo
After updating to Xcode 10.3, I'm getting compile errors on an iOS project I've been working on.   Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7xxca9> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fccea1a1c90> scaleFactor=2x'. These… (Show more)
in Cocoa Touch
Profile Photo
Hi, all!   I've been working on getting the hardened runtime enabled in the direct sale versions of our macOS apps. I successfully got it working and Apple's notarization service accepted the one app I've been working on.   However, we also sell Mac App Store versions of these apps, and we have shared framework projects that are also used in iOS… (Show more)
in Mac Apps
Profile Photo
Setting NSSavePanel's directoryURL property to a directory inside a sandboxed app container does not work (actually sets the directoryURL to the "real" Documents directory.   NSURL *containerDocsDir = [fileManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask].firstObject;… (Show more)
in Cocoa
Profile Photo
I'm trying to turn on the hardened runtime for one of my apps, but Xcode keeps turning it on for the wrong app target. Very frustrating. I turned it on from Build Settings, but then when I go back to "Capabilities section" and try to turn on an entitlement, Xcode turns off the hardened runtime again  on me.   Anyone run into this before?
Profile Photo
Some apps like VMWare Fusion, are able to enable tab mode but hide the New Tab button. However, I'm not able to achieve this even when adding this code like mentionned on https://developer.apple.com/library/content/releasenotes/AppKit/RN-AppKit/:   … (Show more)
in Cocoa
Profile Photo
I wrote a little something that uses WKWebView. It seems that print: does not work though (macOS app).   I'm kind of regretting using WKWebView over the old school WebView...anyone have a workaround?
in Cocoa
Load more items