Search results for

“show when run”

115,117 results found

Post

Replies

Boosts

Views

Activity

Run timer even when app is not running (SWIFT)
Hi everyone,I'm stuck in one of my applications and need your help.So, the app is having a functionality where the user will start timer from the app and unless & until he/she didn't stop, it must be running even if the app is in background or not running in background too.So, lets say the user starts the timer and after 3minutes the app is terminated, then when user starts the app next time the timer must continue from 3minute onwards.I'm thinking to use the GCD Timer. So, please help me with this situation.Thanks in advance
1
0
1.9k
Jun ’19
Reply to MacOS 13.3 beta killed Java??
Late, but for anyone who might run across this in future, I was just able to resolve this on a system reporting the same error for multiple JDKs. Turns out SIP was disabled for some unknown reason, re-enabling resolved it. To check its status on your machine, run csrutil status. If the output shows that SIP is disabled, run sudo csrutil clear and reboot.
Nov ’24
How to show lanes in carplay programatically
Hello all, I'm confused about how to show lanes in CarPlay. I understand CPLaneGuidance and CPLane I don't find anywhere where to tell Carplay which icon to show for each lane. I've found some information saying we put the icon in CPManeuver, but then CPManeuver is linked to only one CPLaneGuidance, and we can put only one icon in CPManeuver. At the same time, we might have multiple lanes. Any help, tips, or examples would be highly helpful.
0
0
70
Jun ’25
Glance shows black
I created 4 targets to support watchOS 1 & 2, but failed to show the correct Glance screen, only a black screen. If I delete targets of watchOS 1, everything will be ok.Questions:1. How to maintain targets of watchOS 1 & 2 simultaneously and Glance screen still can work?2. How to execute the app of watchOS 1 when targets of watchOS 1 & 2 exist simultaneously?All tests were done in the simulator. Here is my test project: https://dl.dropboxusercontent.com/u/31258390/test.zip (Xcode 7 GM, iOS 9 SDK)Anyone has solutions? Thanks!
0
0
343
Sep ’15
UIPageViewController not showing anything
I have a PageContainerViewController ( a regular view controller with nothing in it ) that I Show Detail present from a previous view controller, which is supposed to embed a UIPageViewController in itself. The UIPageViewController is supposed to show, right now, two View Controllers, but it doesn't. The PageContainerViewController shows up as a blank white screen, and the UIPageViewController seems to be nowhere (I changed the background color to a bright green and still all I see is white).Here's my code in PageContainerViewController (which has the UIPageViewControllerDataSource): var pageViewController: UIPageViewController? lazy var orderedViewControllers: [UIViewController] = { return [self.newVc(viewController: vc1), self.newVc(viewController: vc2)] }() var currentlyShowingIndex = 0 func newVc(viewController: String) -> UIViewController { return storyboard!.instantiateViewController(withIdentifier: viewController) } override func viewDidLoad() { super.viewDidLoad() pageVie
Topic: UI Frameworks SubTopic: UIKit Tags:
3
0
6.7k
Dec ’18
Run builds on old binary
I am encountering an issue where the application running on a physical device does not reflect the most recent source changes. Observed behavior On the device, the application behaves as if an older binary is running. Specifically: Newly added debug UI labels do not appear. The logs still show old debug prints instead of new ones. Steps taken to ensure a clean install: Changed the bundle identifier Set a new display name (the app still showed the old display name when I click run). Deleted the app manually from the device before every reinstall. Build and install steps Performed multiple clean builds with a fresh Derived Data path. Built from terminal using xcodebuild (Debug configuration, physical device target, automatic provisioning). Installed using: xcrun devicectl device install app Verified: The updated source files are listed under Compile Sources and compiled from the expected path. The bundled Info.plist includes the new bundle identifier and display name
0
0
320
Jan ’26
Reply to Button action in xcode
Is it possible to link one view controller from the storyboard with another one thats is programatically built? Generally, YES. But I do not know if it applies in your case. it does not work... Please show your code, and be more specific. What do you mean by does not work? Does it cause some build-time error and you cannot run it? Does it build successfully but causes runtime errors or crash? Does it build successfully and run without errors but generates unexpected results? If you can show enough info, there are many readers who can help you.
Oct ’20
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
479
Apr ’17
Run xCode app on a device
Hello everyoneI'm developing an ios app using xCode Version 9.0.I'm trying to run my app on my iPhone version 11.0.1 but an error message shows up that says:- Code signing error - signing for xxx requires a development team. Select a development team in the project editor. - Code signing is required for product type 'application' in SDK 'iOS 11.0'.So, what does that mean?I tried to add a team by adding my Apple ID but it didn't work, when I try to sign in with my ID an error message shows up that says:This action could not be completed, try again.I tried again many times for few days but nothing changed, what should I do?
6
0
13k
Oct ’17
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
Zooming in and out when showing storyboard
HiIs it possible to zoom in and out when showing storboard ? cant see anything that helps in the view menu.Kindest Regards
Replies
3
Boosts
0
Views
769
Activity
Nov ’19
hidden apps showing openly
i have an iphone 13 in that i have hidden apps also my hidden apps shows in my app library openly
Replies
0
Boosts
0
Views
242
Activity
Nov ’24
Run timer even when app is not running (SWIFT)
Hi everyone,I'm stuck in one of my applications and need your help.So, the app is having a functionality where the user will start timer from the app and unless & until he/she didn't stop, it must be running even if the app is in background or not running in background too.So, lets say the user starts the timer and after 3minutes the app is terminated, then when user starts the app next time the timer must continue from 3minute onwards.I'm thinking to use the GCD Timer. So, please help me with this situation.Thanks in advance
Replies
1
Boosts
0
Views
1.9k
Activity
Jun ’19
Reply to MacOS 13.3 beta killed Java??
Late, but for anyone who might run across this in future, I was just able to resolve this on a system reporting the same error for multiple JDKs. Turns out SIP was disabled for some unknown reason, re-enabling resolved it. To check its status on your machine, run csrutil status. If the output shows that SIP is disabled, run sudo csrutil clear and reboot.
Replies
Boosts
Views
Activity
Nov ’24
How to show lanes in carplay programatically
Hello all, I'm confused about how to show lanes in CarPlay. I understand CPLaneGuidance and CPLane I don't find anywhere where to tell Carplay which icon to show for each lane. I've found some information saying we put the icon in CPManeuver, but then CPManeuver is linked to only one CPLaneGuidance, and we can put only one icon in CPManeuver. At the same time, we might have multiple lanes. Any help, tips, or examples would be highly helpful.
Replies
0
Boosts
0
Views
70
Activity
Jun ’25
Glance shows black
I created 4 targets to support watchOS 1 & 2, but failed to show the correct Glance screen, only a black screen. If I delete targets of watchOS 1, everything will be ok.Questions:1. How to maintain targets of watchOS 1 & 2 simultaneously and Glance screen still can work?2. How to execute the app of watchOS 1 when targets of watchOS 1 & 2 exist simultaneously?All tests were done in the simulator. Here is my test project: https://dl.dropboxusercontent.com/u/31258390/test.zip (Xcode 7 GM, iOS 9 SDK)Anyone has solutions? Thanks!
Replies
0
Boosts
0
Views
343
Activity
Sep ’15
UIPageViewController not showing anything
I have a PageContainerViewController ( a regular view controller with nothing in it ) that I Show Detail present from a previous view controller, which is supposed to embed a UIPageViewController in itself. The UIPageViewController is supposed to show, right now, two View Controllers, but it doesn't. The PageContainerViewController shows up as a blank white screen, and the UIPageViewController seems to be nowhere (I changed the background color to a bright green and still all I see is white).Here's my code in PageContainerViewController (which has the UIPageViewControllerDataSource): var pageViewController: UIPageViewController? lazy var orderedViewControllers: [UIViewController] = { return [self.newVc(viewController: vc1), self.newVc(viewController: vc2)] }() var currentlyShowingIndex = 0 func newVc(viewController: String) -> UIViewController { return storyboard!.instantiateViewController(withIdentifier: viewController) } override func viewDidLoad() { super.viewDidLoad() pageVie
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
3
Boosts
0
Views
6.7k
Activity
Dec ’18
Run builds on old binary
I am encountering an issue where the application running on a physical device does not reflect the most recent source changes. Observed behavior On the device, the application behaves as if an older binary is running. Specifically: Newly added debug UI labels do not appear. The logs still show old debug prints instead of new ones. Steps taken to ensure a clean install: Changed the bundle identifier Set a new display name (the app still showed the old display name when I click run). Deleted the app manually from the device before every reinstall. Build and install steps Performed multiple clean builds with a fresh Derived Data path. Built from terminal using xcodebuild (Debug configuration, physical device target, automatic provisioning). Installed using: xcrun devicectl device install app Verified: The updated source files are listed under Compile Sources and compiled from the expected path. The bundled Info.plist includes the new bundle identifier and display name
Replies
0
Boosts
0
Views
320
Activity
Jan ’26
Reply to Button action in xcode
Is it possible to link one view controller from the storyboard with another one thats is programatically built? Generally, YES. But I do not know if it applies in your case. it does not work... Please show your code, and be more specific. What do you mean by does not work? Does it cause some build-time error and you cannot run it? Does it build successfully but causes runtime errors or crash? Does it build successfully and run without errors but generates unexpected results? If you can show enough info, there are many readers who can help you.
Replies
Boosts
Views
Activity
Oct ’20
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
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
479
Activity
Apr ’17
Run xCode app on a device
Hello everyoneI'm developing an ios app using xCode Version 9.0.I'm trying to run my app on my iPhone version 11.0.1 but an error message shows up that says:- Code signing error - signing for xxx requires a development team. Select a development team in the project editor. - Code signing is required for product type 'application' in SDK 'iOS 11.0'.So, what does that mean?I tried to add a team by adding my Apple ID but it didn't work, when I try to sign in with my ID an error message shows up that says:This action could not be completed, try again.I tried again many times for few days but nothing changed, what should I do?
Replies
6
Boosts
0
Views
13k
Activity
Oct ’17
Reply to Not Receiving Incoming VoIP Push Notifications on iOS 18.4 (React Native App)
I'm experiencing a similar issue. Push notifications work correctly on iOS simulators running 17.5 and 18.3.1, but they aren't showing up on the iOS 18.4 simulator. Interestingly, everything still works fine on a physical device running iOS 18.4.
Replies
Boosts
Views
Activity
Apr ’25
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