Search results for

“show when run”

115,121 results found

Post

Replies

Boosts

Views

Activity

cant run on real watch device os 2
1. I can run the wathApp and notification-watchApp on simulator directly..but i cant run these on real device.2. When i run the application on iphone, the watchApp installs on watch, but the notifications which i have designed in interface builder, does not show. The watch shows its default design for notifications. Any body can help, it will be apreciated.thankx
0
0
189
Jul ’15
UIImage don't show as MPMediaItemPropertyArtwork
This is on Xcode Version 7.3.1 (7D1014) on OS X 10.11.5 (15F34), target is an iOS application, built for iOS 9.I have an audio application in which I cannot manage to show the cover art in Now Playing lock screen.I can show a static image and other information but I'm not able to show the real album cover. Code below works correctly (a 512x512 image is displayed: NSMutableDictionary __block *mpInfo = [[NSMutableDictionary alloc] initWithDictionary:[[MPNowPlayingInfoCenter defaultCenter] nowPlayingInfo]]; mpInfo[MPMediaItemPropertyArtist] = currentSong.artist; mpInfo[MPMediaItemPropertyTitle] = currentSong.title; if([[RP4RadioManager sharedManager] isPlaying]) { mpInfo[MPNowPlayingInfoPropertyPlaybackRate] = @(1.0); } else { mpInfo[MPNowPlayingInfoPropertyPlaybackRate] = @(0.0); } mpInfo[MPMediaItemPropertyPlaybackDuration] = @([currentSong.duration doubleValue] / 1000.0); mpInfo[MPNowPlayingInfoPropertyElapsedPlaybackTime] = @(0); mpInfo[MPMediaItemPropertyArtwork] = [[MPMediaItemAr
2
0
3.7k
Jun ’16
How to run watch os1 target on simulator?
We have 2 targets in our app, one for watch os1 and another for watch os2.I'm on Xcode 7, beta 6.I can't find a way to get the watch os1 target to actually run on the simulator.I need to be able to test with the combination of an iPhone running iOS 8 and an Apple Watch running watch os1, because not everyone who gets our app update will have iOS 9. Here is what I've tried:1. Tried the old way of testing watch os1. i.e. I started the iOS app on an iPhone 8.4 simulator and then attempted to show the watch as an external display. This doesn't work any more. Apple Watch devices no longer show as external displays in Xcode 7, as far as I can tell (and also based on some forum posts I saw).2. Attempted to install a combo simulator in the Devices panel, meaning an iPhone running iOS 8.4, paired to an Apple Watch. However, as soon as I change the iPhone from iOS 9 to iOS 8.4, the ability to pair it to a device is grayed out.3. Attempted to run the watch o
0
0
1k
Sep ’15
Leaks in Instruments showing massive # of leaks Xcode 8.3.2
On Xcode 8.3.2, I see lots of leaks when running my mac app, which previously showed no leaks in an older version.Calls to things like addSubview:, basic API use are showing leaks everywhere. I hope these are false positives. Even if they are not, there's nothing I can do about these, but it does make for tracking down leaks I can do something about harder.
4
0
1.6k
Apr ’17
How to show AirPlay menu for SystemMusicPlayer in SwiftUI
Hi all, I am trying to understand how to show the AirPlay menu in SwiftUI. My goal is to show the AirPlay menu, the same one displayed in the music app, but programmatically from a SwiftUI Button. I was able to display the AirPlay menu using UIViewRepresentable and MPVolumeView, but that does not show the currently active AirPlay speakers (no checkmarks). So how can I: Show the AirPlay button from a custom SwiftUI button? Show the same AirPlay menu as the one in the Music app, with preselected active speaker?
1
0
2.3k
Nov ’21
Running c++ in terminal
Hi. I'm pretty new to coding and i have used CodeBlocks for some time. Recently I started using Xcode and there is one feature I really miss. When I run my code in CodeBlocks, it automatically opens terminal window and runs code there. In Xcode i can only see my output bellow the code, and if there are many lines it has to write, the console becomes really choppy and laggy. Is there a way could make that when i run my c++ code, it automatically runs in a new terminal window? (if it's not possible maybe there is a way to make console in Xcode run smoother when running the code)
1
0
886
Dec ’20
Show / Hide menu in MenuBar
At launch, several menus of the menuBar are hidden (defined in IB).I want to show them later. How can I do this ?For NSMenuItems, I use the hidden property, but there is no such property for NSMenu.What's the way to di it ?
Replies
1
Boosts
0
Views
1.8k
Activity
Mar ’16
Reply to Xcode 15 (RC) - Crash settings app on simulators(iPhone 15 Pro & 15 PM)
In case this helps anyone, I was able to get Settings in the iPhone 14 Pro simulator with iOS 17 to work, just not the iPhone 15 Pro. I just needed to select Manage Run Destinations and switch the iPhone 14 Pro's Show Run Destination from Automatic to Always.
Replies
Boosts
Views
Activity
Sep ’23
Why does my access point does not show
Why does my access point (Game Center) does not show except for the first time I open the app? My code: func showMainMenu() { GKAccessPoint.shared.location = .topLeading GKAccessPoint.shared.showHighlights = true GKAccessPoint.shared.isActive = true }
Replies
1
Boosts
0
Views
537
Activity
Sep ’20
cant run on real watch device os 2
1. I can run the wathApp and notification-watchApp on simulator directly..but i cant run these on real device.2. When i run the application on iphone, the watchApp installs on watch, but the notifications which i have designed in interface builder, does not show. The watch shows its default design for notifications. Any body can help, it will be apreciated.thankx
Replies
0
Boosts
0
Views
189
Activity
Jul ’15
UIImage don't show as MPMediaItemPropertyArtwork
This is on Xcode Version 7.3.1 (7D1014) on OS X 10.11.5 (15F34), target is an iOS application, built for iOS 9.I have an audio application in which I cannot manage to show the cover art in Now Playing lock screen.I can show a static image and other information but I'm not able to show the real album cover. Code below works correctly (a 512x512 image is displayed: NSMutableDictionary __block *mpInfo = [[NSMutableDictionary alloc] initWithDictionary:[[MPNowPlayingInfoCenter defaultCenter] nowPlayingInfo]]; mpInfo[MPMediaItemPropertyArtist] = currentSong.artist; mpInfo[MPMediaItemPropertyTitle] = currentSong.title; if([[RP4RadioManager sharedManager] isPlaying]) { mpInfo[MPNowPlayingInfoPropertyPlaybackRate] = @(1.0); } else { mpInfo[MPNowPlayingInfoPropertyPlaybackRate] = @(0.0); } mpInfo[MPMediaItemPropertyPlaybackDuration] = @([currentSong.duration doubleValue] / 1000.0); mpInfo[MPNowPlayingInfoPropertyElapsedPlaybackTime] = @(0); mpInfo[MPMediaItemPropertyArtwork] = [[MPMediaItemAr
Replies
2
Boosts
0
Views
3.7k
Activity
Jun ’16
Reply to Writing about ATV
I think you're allowed to write how-tos just not mention or show the dev kit while it's running pre-release software (which it still is).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
How to run watch os1 target on simulator?
We have 2 targets in our app, one for watch os1 and another for watch os2.I'm on Xcode 7, beta 6.I can't find a way to get the watch os1 target to actually run on the simulator.I need to be able to test with the combination of an iPhone running iOS 8 and an Apple Watch running watch os1, because not everyone who gets our app update will have iOS 9. Here is what I've tried:1. Tried the old way of testing watch os1. i.e. I started the iOS app on an iPhone 8.4 simulator and then attempted to show the watch as an external display. This doesn't work any more. Apple Watch devices no longer show as external displays in Xcode 7, as far as I can tell (and also based on some forum posts I saw).2. Attempted to install a combo simulator in the Devices panel, meaning an iPhone running iOS 8.4, paired to an Apple Watch. However, as soon as I change the iPhone from iOS 9 to iOS 8.4, the ability to pair it to a device is grayed out.3. Attempted to run the watch o
Replies
0
Boosts
0
Views
1k
Activity
Sep ’15
CloudKit doesn't show "USAGE"
Hi, when I log in on my dashboard CloudKit doesn't show any statitics (USAGE section).Message is: CAN'T LOAD USAGE INFORMATION BECAUSE OF A SERVER ERROR.How can I fix this problem?
Replies
2
Boosts
0
Views
266
Activity
May ’16
Reply to Upgraded to Xcode 15.0.1 and no longer see NSLog messages
Weirder and weirder. I ran Xcode with the simulator and though the message window looks different than it used to, it at least shows me information. When run with the debug on the watch itself, nothing.
Replies
Boosts
Views
Activity
Nov ’23
Reply to GLKView drawInRect not being called
I added a github example. Just run the app with a simulator.https://github.com/seriouscyrus/GLKViewControllerBugGLKView delegate is set and should be working.The output should show the method being called, it does not.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’17
app showing in wrong category
Hi everyone,I set my app to Puzzle and then Board (secondary) but when I released for sale it shows Board for the primary category. How can I go about getting that fixed? Any ideas on why and how that could happen?Thanks.
Replies
1
Boosts
0
Views
441
Activity
Sep ’17
Leaks in Instruments showing massive # of leaks Xcode 8.3.2
On Xcode 8.3.2, I see lots of leaks when running my mac app, which previously showed no leaks in an older version.Calls to things like addSubview:, basic API use are showing leaks everywhere. I hope these are false positives. Even if they are not, there's nothing I can do about these, but it does make for tracking down leaks I can do something about harder.
Replies
4
Boosts
0
Views
1.6k
Activity
Apr ’17
PKAddPassButton shows wrong title on device with iOS 16
PKAddPassButton shows unlocalised title when I run the app on real device with iOS 16. The title is shown as ADD_PASS_BUTTON_TITLE. It's correct if I run the same build on simulator (I see the title as Add to Apple Wallet) and also physical device with iOS 15. But wrong title on iOS 16. Does anyone know what the reason could be?
Replies
0
Boosts
0
Views
485
Activity
Sep ’23
How to show AirPlay menu for SystemMusicPlayer in SwiftUI
Hi all, I am trying to understand how to show the AirPlay menu in SwiftUI. My goal is to show the AirPlay menu, the same one displayed in the music app, but programmatically from a SwiftUI Button. I was able to display the AirPlay menu using UIViewRepresentable and MPVolumeView, but that does not show the currently active AirPlay speakers (no checkmarks). So how can I: Show the AirPlay button from a custom SwiftUI button? Show the same AirPlay menu as the one in the Music app, with preselected active speaker?
Replies
1
Boosts
0
Views
2.3k
Activity
Nov ’21
Running c++ in terminal
Hi. I'm pretty new to coding and i have used CodeBlocks for some time. Recently I started using Xcode and there is one feature I really miss. When I run my code in CodeBlocks, it automatically opens terminal window and runs code there. In Xcode i can only see my output bellow the code, and if there are many lines it has to write, the console becomes really choppy and laggy. Is there a way could make that when i run my c++ code, it automatically runs in a new terminal window? (if it's not possible maybe there is a way to make console in Xcode run smoother when running the code)
Replies
1
Boosts
0
Views
886
Activity
Dec ’20