Search results for

“show when run”

117,515 results found

Post

Replies

Boosts

Views

Activity

Reply to LLDB RPC server has crashed
I have the same error, it happened after I :1, Select your TARGET --> Build Phases2, Click Run Script to show the list3, Select Run script only when installing4, Clean your project and run the project again5, Have a breakpoint at any place in one of your classesWhen the program run to the breakpoint , The error will produce, at the same time, Xcode will lose connection with your device !
Jun ’17
Show notification window from daemon
Hello,I have a background daemon which is launched by launchd at system startup. I need to show a notification window to reports some event occationally. My snippet is as follows.CFStringRef message = CFStringCreateWithCString(NULL, filePath, kCFStringEncodingUTF8); CFUserNotificationDisplayNotice( 3.0f, kCFUserNotificationStopAlertLevel | kCFUserNotificationNoDefaultButtonFlag, NULL, NULL, NULL, CFSTR(alert), message, NULL); CFRelease(message);The CFUserNotificationDisplayNotice returns 0, but no window shows up.I cannot find much information about how to use this API.Could anybody show me the correct way to show some UI from a daemon? Thanks!
1
0
770
Feb ’20
Will not run
Hi i am very new to coding... code x will not even run the text which is already typed in by default also if i use print command. it says on the top it is running my playground but it never stops loading. can someone help?
1
0
584
Apr ’18
Reply to Create and Encrypt Secret Key in iOS
Forced unwrapping is sort of risky and you should better avoid it. But I cannot run it as it does not compile. The line 6 should be let publicSecKey : SecKey = SecKeyCreateWithData(serverPublicKeyData as CFData, attributesPublic as CFDictionary, &errorPublic)!. Please show the exact code you run.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’20
Show a UIMenu on double-tap?
Is there a way to programmatically show a UIMenu on iOS on a double-tap event? I have an app that's been around for over a decade, so there are some UX patterns that I'm reluctant to mess around with. There is a view in my app with the following properties: Tapping the view once focuses it and brings it to the front Double-tapping it shows a view controller as a sheet, with several operations you can perform on that object Instead of the sheet, I'd like to move to context menus - they look better, and they're more familiar for users. Obviously, adding a context menu for long-press is straightforward (just use UIContextMenuInteraction). But there does not seem to be a way to show the context menu on double-tap. I've discovered that you can use UIButton with showsMenuAsPrimaryAction to show the menu on single-tap, but that doesn't quite work for me. My users expect a single tap to do something else (focus the view) and will be annoyed if single taps start showing men
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
1.1k
Jun ’24
USDZ file not showing in Reality Composer but shows in viewer
I converted a fbx file to USDZ using Reality Converted. This seemed to work and I can double click in the USDZ file and a Xcode view pops up and shows the file/object with out a problem. But when I go to Reality Composer and try to import this USDZ I can see it added to the import list under + (add) and I can see it drag to the scene, but when I release everything disappears and I see nothing in the scene. How can I figure out what happen. Is there a console view I can bring up. Is there a way to list all the objects in the scene?
1
0
1.5k
Mar ’22
Remote App Not Showing ATV's
Wondered if others are seeing this too and not sure where to post (will cross post in tvOS beta as well). Specifically I'm seeing that neither of my 2 ATV test units now show up in the Apple Remote app regardless of being on the same network as the iPhone. Anyone else seeing this ? Both ATV's and iPhone are running latest beta. Thanks
0
0
350
Jan ’17
Reply to LLDB RPC server has crashed
I have the same error, it happened after I :1, Select your TARGET --> Build Phases2, Click Run Script to show the list3, Select Run script only when installing4, Clean your project and run the project again5, Have a breakpoint at any place in one of your classesWhen the program run to the breakpoint , The error will produce, at the same time, Xcode will lose connection with your device !
Replies
Boosts
Views
Activity
Jun ’17
Show notification window from daemon
Hello,I have a background daemon which is launched by launchd at system startup. I need to show a notification window to reports some event occationally. My snippet is as follows.CFStringRef message = CFStringCreateWithCString(NULL, filePath, kCFStringEncodingUTF8); CFUserNotificationDisplayNotice( 3.0f, kCFUserNotificationStopAlertLevel | kCFUserNotificationNoDefaultButtonFlag, NULL, NULL, NULL, CFSTR(alert), message, NULL); CFRelease(message);The CFUserNotificationDisplayNotice returns 0, but no window shows up.I cannot find much information about how to use this API.Could anybody show me the correct way to show some UI from a daemon? Thanks!
Replies
1
Boosts
0
Views
770
Activity
Feb ’20
QLPreviewController only shows a gray screen with the filename
I have an iOS 8 app. When I run it on iOS 9, the QLPreviewController I use to display files (PDFs, Office docs, etc) no longer works. Instead, it only shows a gray screen with the filename. I am running iOS 9 beta 5.Is anyone else seeing this behavior? Any known issues or workarounds?Thanks!
Replies
2
Boosts
0
Views
2.2k
Activity
Sep ’15
Will not run
Hi i am very new to coding... code x will not even run the text which is already typed in by default also if i use print command. it says on the top it is running my playground but it never stops loading. can someone help?
Replies
1
Boosts
0
Views
584
Activity
Apr ’18
Shows memory leak when open a new controller with UITabBar
I'm using x-code 7.1. But when I run this on x-code7.0 it does not show this error. Only show this error on x-code 7.1. How do I solve this memory leak issue. Thank you !This Memory leak shows only when I navigate to a view controller with a UITabBar.
Replies
2
Boosts
0
Views
935
Activity
Nov ’15
Reply to Review guidelines - iPhone only
Hey,when you say without looking like crap on iPad... as long as it looks like the exact same as the iPhone counterpart, would that be fine ? I mean, if running it on an iPad shows the exact same amount of content that running it on an iPhone does, then are we good ?
Replies
Boosts
Views
Activity
Oct ’15
Reply to How to install oldest version of Xcode that run on Mavericks
If you're actually running Mavericks, then doesn't the Mac App Store app show a (free) download of Xcode that runs on it?The cheapest way of becoming a registered developer is AFAIK the only way, which is to pay the $99 to become a developer.
Replies
Boosts
Views
Activity
Jun ’15
Reply to Create and Encrypt Secret Key in iOS
Forced unwrapping is sort of risky and you should better avoid it. But I cannot run it as it does not compile. The line 6 should be let publicSecKey : SecKey = SecKeyCreateWithData(serverPublicKeyData as CFData, attributesPublic as CFDictionary, &errorPublic)!. Please show the exact code you run.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’20
Reply to Xcode setting ENABLE_BITCODE
For me, If I try to run this on a simulator project builds and compiles fine but for devices, it shows this error. IDK what's causing this for physical devices!!
Replies
Boosts
Views
Activity
Feb ’23
Reply to Shortcut Donations Not Working
Can you run the sample code project to see if the donations from that sample app show up for you? If so, compare your implementation here with that of the sample code project.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21
Show a UIMenu on double-tap?
Is there a way to programmatically show a UIMenu on iOS on a double-tap event? I have an app that's been around for over a decade, so there are some UX patterns that I'm reluctant to mess around with. There is a view in my app with the following properties: Tapping the view once focuses it and brings it to the front Double-tapping it shows a view controller as a sheet, with several operations you can perform on that object Instead of the sheet, I'd like to move to context menus - they look better, and they're more familiar for users. Obviously, adding a context menu for long-press is straightforward (just use UIContextMenuInteraction). But there does not seem to be a way to show the context menu on double-tap. I've discovered that you can use UIButton with showsMenuAsPrimaryAction to show the menu on single-tap, but that doesn't quite work for me. My users expect a single tap to do something else (focus the view) and will be annoyed if single taps start showing men
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’24
Reply to Source Folder's files can't access each other
I encountered the same issue, but realized that even though it says ViewController is not in scope still if you go to the playground page and run, it would run playground just fine even with the error showing. I think this is some sort of bug of XCode.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’21
How do I show the output in terminal?
Hi all, I am new to Xcode and I'm struggling with the output. I remember back in time there was a way to show the output on terminal rather than in the small box at the bottom right, but I can't find it anymore. Does anybody know how? Version 12.5.1 Mac OS Big Sur Programming in C
Replies
2
Boosts
0
Views
3.9k
Activity
Sep ’21
USDZ file not showing in Reality Composer but shows in viewer
I converted a fbx file to USDZ using Reality Converted. This seemed to work and I can double click in the USDZ file and a Xcode view pops up and shows the file/object with out a problem. But when I go to Reality Composer and try to import this USDZ I can see it added to the import list under + (add) and I can see it drag to the scene, but when I release everything disappears and I see nothing in the scene. How can I figure out what happen. Is there a console view I can bring up. Is there a way to list all the objects in the scene?
Replies
1
Boosts
0
Views
1.5k
Activity
Mar ’22
Remote App Not Showing ATV's
Wondered if others are seeing this too and not sure where to post (will cross post in tvOS beta as well). Specifically I'm seeing that neither of my 2 ATV test units now show up in the Apple Remote app regardless of being on the same network as the iPhone. Anyone else seeing this ? Both ATV's and iPhone are running latest beta. Thanks
Replies
0
Boosts
0
Views
350
Activity
Jan ’17