I'm trying to muck with my push notification using the service extension, but it doesn't appear to be running. The body of my method just looks like so:override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) { self.contentHandler = contentHandler bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent) guard let bestAttemptContent = bestAttemptContent else { return } bestAttemptContent.title = new title here contentHandler(bestAttemptContent)So when iOS shows my alert, it should say 'new title here', but it still has what the payload sent. The payload looks like this. Any ideas what I've done wrong?{ aps: { alert: { body: The body, title: The title }, category: drawing-category, mutable-content: 1 } }
Search results for
show when run
112,749 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hey NekloSame issue from my side. The App Store shows the latest version, but running the App I still see the previous version....Did you find the solution ?
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
A preferences screen shown at run time Is it your preferences screen or a system one ? If yours, could you give some details: where and how are those controls defined ? show the code if any
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Having this error on XCode 14.2. Errors not showing on text editor, and only appearing when preview is run. A doctor's stethoscope appears and i can see the error then.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I try to run the program after putting Text(25%) in. Any ideas! No ! How could we guess where you put Text(25%) ???? Please show the code.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Is there any way to show in detail pane calls form some library and hide calls form other libraries?
Does Apple now allow us to have our apps show on the lock screen and have access to them?Stright forward..ThanksJZ
Hello all,I released my App on AppStore with 14 languages, however, in the Language Tap of AppStore of my App, I can only find English, how could I show that my app has 14 languages like other apps.my app: https://itunes.apple.com/jp/app/jumpcitysaga/id1231939677?l=en&mt=8I do have set up localization in Itunes connect, but it only show that language: EnglishThank you very much.
I created a new Vue.js project with the latest vue-cli. After that I served that template project through webpack. Without any modifications, the source maps to the two components (App.vue and HelloWorld.vue) appear fine in Chrome and Firefox. They are located at webpack:///HelloWorld.vue?140d webpack:///App.vue?234e These source maps show up fine in Chrome and Firefox at their respective position, but are missing in Safari. Safari for some reason only shows files that are in some subfolder under webpack://. The source maps in these subfolders are available but they are next to useless, since they are not the original source. Those exist in the root. For example, webpack:///./src/components/HelloWorld.vue?f177 does show up.
For my new app I'm trying to do things the right or at least new way, so I am using this LaunchScreen.storyboard for my splash screen. It was working fine, but now has suddenly stopped. It doesn't display on the device -- it works on the simulator. It's not just a case of the UI image not showing because the launch screen shows black, and my launch viewController background is white. Any ideas why this would stop working on the device?ThanksBob
FOUND THE ANSWER. Under Debug --> Debug WorkFlow ... --> If you have Always Show Disassembly...Checked. when you run your code if the Always Show Disassembly is checked you only have the ability to step through your code in the memory location. when unchecked you can step through your code in the normal patern .. i.e. in the class where the breakpoint is.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hi,After upgraded to Xcode 7.3, Swift 2.2.In the code,func handleInfo(info: [NSObject: AnyObject]) { let aps = info[aps] if let message = aps![alert] as? String { ..... } }it will keep showing error for this line: if let message = aps![alert] as? String ( Downcast from 'String?!' to 'Sting' only unwraps optionals; did you meant to use '!!'?)But if I build and run, it will run successfully without any issue.However, it pretty annoying that it keep showing up when I coding.Anyway to fix that?
Running iPhone 15 Pro Max ios 18.1 beta installed not showing an update to 18.5 anyone have any idea why that is and how I can get the update. cheers
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
I am trying to run a C++ program through Xcode but Xcode is not showing anything on the screen but the same program runs on a online compiler. Please help me !
I recently refactored some common code into a seperate framework. Now for unknown reason when I run clean or build everything executes twice.I am using a workspace that has the project file for my app and my framework.Schema check:I have selected the apps schemaproduct->schema->edit build buildshows the app and framework target. all options are selectedI put the framework target on top of the app targetEmbedded check:In navigator I select the app project and app target. In the general tag I see the framework is embedded. The framework also shows up in the link sectionBuild Setting check:only_active_arch is set to yes for debug and no for all othersbuild phase check:build phase for the app target does not show any dependencies. The framework shows up in the embedded and link sectionsAny idea what I did wrong and how to fix this?Kind regardsAndy