Search results for

show when run

112,749 results found

Post

Replies

Boosts

Views

Activity

UNNotificationServiceExtension not run
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 } }
2
0
2k
Aug ’17
how Appstore shows that I have multi-language?
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.
0
0
310
Jun ’17
SourceMaps do not show properly
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.
0
0
1.1k
Jun ’20
LaunchScreen does not show on device
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
1
0
3.2k
Aug ’17
Reply to Xcode 9 Degugger
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.
Oct ’17
Keep showing error on Swift 2.2, but can build successfully.
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?
2
0
276
Mar ’16
build and clean run twice?
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
8
0
2.0k
Jan ’18