Search results for

“show when run”

117,525 results found

Post

Replies

Boosts

Views

Activity

Reply to Making a stand-along Safari extension
The user only needs to run the app once - after that, the extension will always be available in Safari. Additionally, if you distribute your app through the App Store, the user doesn't even need to run the app - just downloading it from the App Store is enough to have the extensions show up in Safari.
Topic: Safari & Web SubTopic: General Tags:
Feb ’23
Instruments Show Memory Leaks PAFPerfLoggingOperation on 10.12.4
I'm seeing lots of memory leaks when running my app on 10.12.4. The leaks seem to come from code I have no control over, but they are everywhere.PAPerfLoggingOperation _processIntervalEventStram:withContextProcessingCOnfiguration.Don't have to do much. I cant just sroll an NSOutlineView in my app up and down, and Instruments will show a memory leak basically every time it takes a snapshot.
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
483
Apr ’17
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
MapKit not showing traffic
I cannot get traffic to show on a map using MapKit, MKMapView.When I open the iPhone Mapsapplication the traffic is visible, yet when using the MKMapView within an application, the traffic does not show. I have created a simple application, which requires no coding by simply dragging a MKMapView onto the StoryBoardby creating a new Single View application.I have set the Map type to be standard and set the ShowTraffic to true.Start a new project, add a MKMapView to the storyboard and set all the properties of the MKMapView to true using the Attribute Inspector: Type: StandardShows: Buildings, Compass, Scale, Traffic, Points of Interest, User LocationI am using Xcode 9.4.1 and IOS Version 11.4.1How do I get the traffic to show (Is this an apple IOS bug?)-I have posted the same question on StackOverFlow
5
0
2.9k
Aug ’18
Reply to Running MacOS Network system extension showing waiting for attach .
Hi @eskimo, I followed above link line by line to debug system extension. I added script as suggested in above article it copy my app to application folder when debug and compile successfully. then I run my app through terminal by selecting app through application folder. it doesn't call DNSProxyProvider Constructor. But before that what I noticed Im able to add system extension with enabled state but that enabled state or mode is not showing in green colour I guess in running state it shows in orange colour.
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’23
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
How to run SwiftUI Code in Playgrounds on iPad?
Tried to run the following code in Playgrounds as shown in this session: - https://developer.apple.com/videos/play/wwdc2020/10643/ import SwiftUI import PlaygroundSupport struct ProgressView: View { var body: some View { Text(Hello World) } } PlaygroundPage.current.setLiveView(ProgressView()) Instead of Showing a Preview the following error message is displayed: There was a problem running this playground. Check the code and try again
3
0
901
Oct ’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
1
0
650
Feb ’24
Reply to Making a stand-along Safari extension
The user only needs to run the app once - after that, the extension will always be available in Safari. Additionally, if you distribute your app through the App Store, the user doesn't even need to run the app - just downloading it from the App Store is enough to have the extensions show up in Safari.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’23
Instruments Show Memory Leaks PAFPerfLoggingOperation on 10.12.4
I'm seeing lots of memory leaks when running my app on 10.12.4. The leaks seem to come from code I have no control over, but they are everywhere.PAPerfLoggingOperation _processIntervalEventStram:withContextProcessingCOnfiguration.Don't have to do much. I cant just sroll an NSOutlineView in my app up and down, and Instruments will show a memory leak basically every time it takes a snapshot.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
1
Boosts
0
Views
483
Activity
Apr ’17
uploaded build is not showing
I uploaded the app using Transporter, but App Store Connect doesn't show the build. My email also doesn't have any mail related to uploading the app.
Replies
0
Boosts
0
Views
341
Activity
Feb ’24
Show In History Notifications Option
In IOS 12 I have noticed the Show In History option is gone now. Is that intentional and being replaced by something else or is not needed anymore? Thanks,
Replies
0
Boosts
0
Views
616
Activity
Aug ’18
App icons not showing
Almost everytime, when I try to search apps in App library, the icons go invisible, o are showed for and instant to quickly go invisible.
Replies
2
Boosts
0
Views
284
Activity
Aug ’25
[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
461
Activity
Oct ’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
MapKit not showing traffic
I cannot get traffic to show on a map using MapKit, MKMapView.When I open the iPhone Mapsapplication the traffic is visible, yet when using the MKMapView within an application, the traffic does not show. I have created a simple application, which requires no coding by simply dragging a MKMapView onto the StoryBoardby creating a new Single View application.I have set the Map type to be standard and set the ShowTraffic to true.Start a new project, add a MKMapView to the storyboard and set all the properties of the MKMapView to true using the Attribute Inspector: Type: StandardShows: Buildings, Compass, Scale, Traffic, Points of Interest, User LocationI am using Xcode 9.4.1 and IOS Version 11.4.1How do I get the traffic to show (Is this an apple IOS bug?)-I have posted the same question on StackOverFlow
Replies
5
Boosts
0
Views
2.9k
Activity
Aug ’18
Reply to Running MacOS Network system extension showing waiting for attach .
Hi @eskimo, I followed above link line by line to debug system extension. I added script as suggested in above article it copy my app to application folder when debug and compile successfully. then I run my app through terminal by selecting app through application folder. it doesn't call DNSProxyProvider Constructor. But before that what I noticed Im able to add system extension with enabled state but that enabled state or mode is not showing in green colour I guess in running state it shows in orange colour.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
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
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
How to run SwiftUI Code in Playgrounds on iPad?
Tried to run the following code in Playgrounds as shown in this session: - https://developer.apple.com/videos/play/wwdc2020/10643/ import SwiftUI import PlaygroundSupport struct ProgressView: View { var body: some View { Text(Hello World) } } PlaygroundPage.current.setLiveView(ProgressView()) Instead of Showing a Preview the following error message is displayed: There was a problem running this playground. Check the code and try again
Replies
3
Boosts
0
Views
901
Activity
Oct ’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
650
Activity
Feb ’24
How do I show microseconds of a date object?
How do I get the microseconds of an object of type Date? I'm open to any suggestions. I'm not able to set the dateFormat property of DateFormatter to be able to show microseconds.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
3
Boosts
0
Views
5k
Activity
Dec ’17
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