Search results for

“show when run”

115,119 results found

Post

Replies

Boosts

Views

Activity

Show UIImageView for 1 second and hide again
Hello. I am trying to show an image for a short time, in an animated way, and hidden again. This is the function: @IBOutlet var statusField: UIImageView! @IBAction func debugbutton(_ sender: UIButton) { showIcon() } override func viewDidLoad() { super.viewDidLoad() statusField.isHidden = true func showIcon() { statusField.isHidden = false UIView.animate(withDuration: 1, delay: 0.5, options: UIView.AnimationOptions.transitionFlipFromTop, animations: { self.statusField.alpha = 0 }, completion: { finished in self.statusField.isHidden = true }) } When I run the function for the first time it works fine but then it stops doing it. The icon is no longer displayed. Any advice on what's going on? Thanks!
5
0
2.6k
Jun ’21
Reply to Installer.app asks permission before writing App Sandbox Data Container since macOS 14 Sonoma
Does this only crop up when you upgrade your app using this installer? Or do you see it on first install of the app? I test with clean install, and it does not show the dialog. Re-install also show no dialog after launch app & create a file in App Container. Since it is no reproducing, my guess is that the problem was caused by launching an application sign with an adhoc signature (Sign to Run Locally) so that the owner of the container is changed from the legitimate Team ID: Build adhoc signature app (choose Sign to Run Locally in Xcode) and launch The app shows a dialog “macSKK” is from an unidentified developer and differs from previously opened versions. Are you sure you want to open it? after accessing App Container (?) Choose Open Anyway, it changes the owner of App Container (?) Open pkg via Installer.app, it shows the dialog “Installer” would like to access data from other apps.. I have found that by using certificates with same Team IDs in deb
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’23
Combining condition to show something,
Hi Team, I would like to combine or mix and match two filter here is the code but seems like I cannot do what I want... I want to be able to show only what the filter is made for so if TECO and favorite is active then I would only see favourite and not TECO project , and if TECO is not active but favourite is active then it will only show all favourite project and if TECO is active it will only show all project which are not TECO regardless if they are favortie import SwiftUI struct ProjectList: View { @State private var showTecoOnly = false @State private var showFavoriteOnly = false var filteredTECOProjects: [Project] { projects.filter { project in (!showTecoOnly || !project.isTeco) } } var filteredProjects: [Project] { projects.filter { project in (!showFavoriteOnly || project.isFavorite) } } var body: some View { NavigationSplitView { List { Toggle(isOn: $showTecoOnly) { Text(Hide TECO) } Toggle(isOn: $showFavoriteOnly) { Text(Show Favorite) } ForEach (filteredTECOProje
1
0
626
Feb ’24
Xcode Simulator Showing Only "Generic iOS Device"
Hi. I can't seem to run the simulator for the app I'm creating. It only shows, Generic iOS Device. I clicked on said text and then I clicked, Add Additional Simulators. It showed me a list of all the Apple devices available for a simulator. I selected the iPhone 11 Pro, but I can't do anything with it? Can I add the simulator, or am I completely doing something wrong here? To summarize, how do I get a simulator in Xcode 11 when it only shows, Generic iOS Device. Thanks.
3
0
2.2k
Jun ’20
Running PIVToken example [SOLVED]
I have downloaded PIVToken example from here https://developer.apple.com/library/content/samplecode/PIVToken/Introduction/Intro.html and trying to run it. I have put several breakpoints in the source code, but when I run it from XCode, none of them gets hit. It doesn't look like smartcard extension is properly registered or maybe there's some other problem.I have YubiKey NEO PIV smart card.I disabled built-in PIV token as mentioned in the README.md and restarted my machine.sudo defaults write /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.apple.CryptoTokenKit.pivtokenBut when I insert YubiKey NEO, I still get SmartCard Pairing popup:Do you want to connect the inserted SmartCard with the current user?Card Identity: Certificate for digital signature (Test)| Do not show again | | Cancel | | Pair |The README also mentions that the new extension will be automatically installed when the hosting application is installed. Does it mean I need to install the appli
4
0
3.7k
Sep ’16
System volume control UI not showing
Hi, I have recently created a simple sound app. When I run it on my iPhone, I noticed when I press on the volume up/down button, the system volume control does not appear. I don’t think is due to my code since is a system UI. Is there any settings in xcode that I need to set to get the system volume control to show?
0
0
467
Aug ’20
UIUserNotificationAction not showing on device
Hello,I got a very strange problem: UIUserNotifcationActions for my app do not show up on devices but show/work on Simulator.Setup: UIMutableUserNotificationAction* replyToChat = [UIMutableUserNotificationAction new]; replyToChat.activationMode = UIUserNotificationActivationModeForeground; replyToChat.title = @Reply; replyToChat.identifier = @replyToChat; replyToChat.destructive = NO; replyToChat.authenticationRequired = YES; UIMutableUserNotificationAction* ignoreChat = [UIMutableUserNotificationAction new]; replyToChat.activationMode = UIUserNotificationActivationModeBackground; ignoreChat.title = @Ignore; ignoreChat.identifier = @ignoreChat; ignoreChat.destructive = YES; ignoreChat.authenticationRequired = NO; UIMutableUserNotificationCategory* catChat = [[UIMutableUserNotificationCategory alloc] init]; catChat.identifier = @myChat; [catChat setActions:@[replyToChat, ignoreChat] forContext:UIUserNotificationActionContextDefault]; NSMutableSet *categories = [NSMutableSet setWithObject:catC
2
0
1.2k
May ’16
Show UIImageView for 1 second and hide again
Hello. I am trying to show an image for a short time, in an animated way, and hidden again. This is the function: @IBOutlet var statusField: UIImageView! @IBAction func debugbutton(_ sender: UIButton) { showIcon() } override func viewDidLoad() { super.viewDidLoad() statusField.isHidden = true func showIcon() { statusField.isHidden = false UIView.animate(withDuration: 1, delay: 0.5, options: UIView.AnimationOptions.transitionFlipFromTop, animations: { self.statusField.alpha = 0 }, completion: { finished in self.statusField.isHidden = true }) } When I run the function for the first time it works fine but then it stops doing it. The icon is no longer displayed. Any advice on what's going on? Thanks!
Replies
5
Boosts
0
Views
2.6k
Activity
Jun ’21
commonIdentifierDescription does not show up
The tappable description item does not show up. let descriptionItem = AVMutableMetadataItem() descriptionItem.identifier = .commonIdentifierDescription descriptionItem.value = test as NSString playerItem.externalMetadata = [descriptionItem]
Replies
1
Boosts
0
Views
1.2k
Activity
Dec ’22
Reply to Installer.app asks permission before writing App Sandbox Data Container since macOS 14 Sonoma
Does this only crop up when you upgrade your app using this installer? Or do you see it on first install of the app? I test with clean install, and it does not show the dialog. Re-install also show no dialog after launch app & create a file in App Container. Since it is no reproducing, my guess is that the problem was caused by launching an application sign with an adhoc signature (Sign to Run Locally) so that the owner of the container is changed from the legitimate Team ID: Build adhoc signature app (choose Sign to Run Locally in Xcode) and launch The app shows a dialog “macSKK” is from an unidentified developer and differs from previously opened versions. Are you sure you want to open it? after accessing App Container (?) Choose Open Anyway, it changes the owner of App Container (?) Open pkg via Installer.app, it shows the dialog “Installer” would like to access data from other apps.. I have found that by using certificates with same Team IDs in deb
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’23
how can you run LINUX
I need to run engineering applications (CFD Analyses) and thus I need to be able to have access to LINUX. I hear that Boot Camp will not be an option on Apple silicon. So be specific, how am I going to get my work done with a machine that has Apple Silicon in it.
Replies
3
Boosts
0
Views
928
Activity
Jun ’20
Combining condition to show something,
Hi Team, I would like to combine or mix and match two filter here is the code but seems like I cannot do what I want... I want to be able to show only what the filter is made for so if TECO and favorite is active then I would only see favourite and not TECO project , and if TECO is not active but favourite is active then it will only show all favourite project and if TECO is active it will only show all project which are not TECO regardless if they are favortie import SwiftUI struct ProjectList: View { @State private var showTecoOnly = false @State private var showFavoriteOnly = false var filteredTECOProjects: [Project] { projects.filter { project in (!showTecoOnly || !project.isTeco) } } var filteredProjects: [Project] { projects.filter { project in (!showFavoriteOnly || project.isFavorite) } } var body: some View { NavigationSplitView { List { Toggle(isOn: $showTecoOnly) { Text(Hide TECO) } Toggle(isOn: $showFavoriteOnly) { Text(Show Favorite) } ForEach (filteredTECOProje
Replies
1
Boosts
0
Views
626
Activity
Feb ’24
Reply to Xcode b4 Simulator "Posterboard has quit unexpectantly"
Also I've got 20% of constant CPU usage while running Xcode because of diagnosticd process, console shows a lot of errors from Posterboard. Reverting to B3.
Replies
Boosts
Views
Activity
Jul ’22
NSUserNotification always show actionButton
Hello,How can I set a NSUserNotification to always show the actionButton when presented? Right now I'm required to hover over the notification.Thanks,Charlie
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
1
Boosts
0
Views
436
Activity
Jul ’15
Multiple Alerts not showing
Hi, I have this issue where I have this code and when I arrange the .alerts in any way, none of them show except the codeError alert. Please Help! Code
Replies
4
Boosts
0
Views
1k
Activity
Feb ’22
[iOS] Show Folders as Table
For example, if there is folder iOS, iPadOs, macOS, how can I show them in tableview? Example iOS iPadOS macOS Should I use FileManager or my own algorithm?
Replies
2
Boosts
0
Views
458
Activity
Oct ’20
Xcode Simulator Showing Only "Generic iOS Device"
Hi. I can't seem to run the simulator for the app I'm creating. It only shows, Generic iOS Device. I clicked on said text and then I clicked, Add Additional Simulators. It showed me a list of all the Apple devices available for a simulator. I selected the iPhone 11 Pro, but I can't do anything with it? Can I add the simulator, or am I completely doing something wrong here? To summarize, how do I get a simulator in Xcode 11 when it only shows, Generic iOS Device. Thanks.
Replies
3
Boosts
0
Views
2.2k
Activity
Jun ’20
Running PIVToken example [SOLVED]
I have downloaded PIVToken example from here https://developer.apple.com/library/content/samplecode/PIVToken/Introduction/Intro.html and trying to run it. I have put several breakpoints in the source code, but when I run it from XCode, none of them gets hit. It doesn't look like smartcard extension is properly registered or maybe there's some other problem.I have YubiKey NEO PIV smart card.I disabled built-in PIV token as mentioned in the README.md and restarted my machine.sudo defaults write /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.apple.CryptoTokenKit.pivtokenBut when I insert YubiKey NEO, I still get SmartCard Pairing popup:Do you want to connect the inserted SmartCard with the current user?Card Identity: Certificate for digital signature (Test)| Do not show again | | Cancel | | Pair |The README also mentions that the new extension will be automatically installed when the hosting application is installed. Does it mean I need to install the appli
Replies
4
Boosts
0
Views
3.7k
Activity
Sep ’16
System volume control UI not showing
Hi, I have recently created a simple sound app. When I run it on my iPhone, I noticed when I press on the volume up/down button, the system volume control does not appear. I don’t think is due to my code since is a system UI. Is there any settings in xcode that I need to set to get the system volume control to show?
Replies
0
Boosts
0
Views
467
Activity
Aug ’20
UIUserNotificationAction not showing on device
Hello,I got a very strange problem: UIUserNotifcationActions for my app do not show up on devices but show/work on Simulator.Setup: UIMutableUserNotificationAction* replyToChat = [UIMutableUserNotificationAction new]; replyToChat.activationMode = UIUserNotificationActivationModeForeground; replyToChat.title = @Reply; replyToChat.identifier = @replyToChat; replyToChat.destructive = NO; replyToChat.authenticationRequired = YES; UIMutableUserNotificationAction* ignoreChat = [UIMutableUserNotificationAction new]; replyToChat.activationMode = UIUserNotificationActivationModeBackground; ignoreChat.title = @Ignore; ignoreChat.identifier = @ignoreChat; ignoreChat.destructive = YES; ignoreChat.authenticationRequired = NO; UIMutableUserNotificationCategory* catChat = [[UIMutableUserNotificationCategory alloc] init]; catChat.identifier = @myChat; [catChat setActions:@[replyToChat, ignoreChat] forContext:UIUserNotificationActionContextDefault]; NSMutableSet *categories = [NSMutableSet setWithObject:catC
Replies
2
Boosts
0
Views
1.2k
Activity
May ’16
Reply to CarPlay side-by-side apps not available yet?
This only shows the grid of apps available. selecting a new app replaces the currently displayed app, instead of letting them run side-by-side
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’19
Reply to TvOS: An error was encountered while attempting to communicate with this device
I'm not able to run on iPhone 6s.it shows the error Development cannot be enabled while your device is locked. Please unlock your device and reattach. (0xE80000E2).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’20