Search results for

“show when run”

117,519 results found

Post

Replies

Boosts

Views

Activity

how to show different launch screen for different language
I am making a swift app supporting multi language ,showing proper language ui according user's phone setting language, I want to launch different screen (showing different image, boot-en.jpg, boot-ja.jpg) according language,i created two LaunchScreen files ,LaunchScreen-en.storyboard and LaunchScreen-ja.storyboard and localize them ,and add a different UIImage to them, then create two InfoPlist.strings file with congfiging .UILaunchStoryboardName = LaunchScreen_en; // UILaunchStoryboardName = LaunchScreen_ja;// and then **config info.plist ** with UILaunchStoryboardName LaunchScreen above all steps ,build and run,hope to see launch screen showing boot-ja.jpg when phone's language is Japanese, showing boot-en.jpg when phone's language is English, but it shows black screen, how to fix this problem, thank you.
1
0
453
Nov ’24
Reply to Code Coverage Not Showing In Editor
I saw something like this recently (yesterday). I turned on Code Coverage then ran the app. The Code Coverage slider bars showed that ONE Swift file had 0% coverage. Since I just added a bunch of tests that tested that file, it was surprising, When I clicked the icon to go to the code in that file, it showed the Code Coverage column that showed how many times the line was called...ALL were called...yet the Code Coverage slider bar showed 0% on that file....Today when I run it, now it shows 100% on slider bar and in the file. Go figure. Gremlins were running wild yesterday holding that slider bar at 0, today they are sleeping. Who knows? By the way I'm using Xcode 8.3.3. I tried using Xcode 9 a few days ago and got errors in this area, so I went back to something more stable.
Aug ’17
Notifications stop showing Catalina
Hello,I'm currently trying to run an app on Catalina, and I reach a state on Catalina where notifications stop showing entirely. The notifications in my app are managed by a separate XPC service, which uses the NSUserNotification class to create our notifications. However, when I first install it, I see the following message in the console logs:default 09:01:31.467209-0700 NotificationCenter Looking up app info for <xpc identifier>.error 09:01:31.474550-0700 NotificationCenter Failed to find <xpc identifier>. Will check again next time we get a message from app.After choosing to allow notifications from my app. Then, when I try to send myself notifications on the app, I see this:Denying message { message_type: 3, immediate: true, encoded_notification: <data: 0x7f8ffc51bf30>: { length = 1276 bytes, contents = 0x62706c6973743030d4010203040506070a58247665727369... },} from connection <LegacyConnection identifier: <xpc identifier>. type: Application>I know that cons
0
0
634
Sep ’19
familyActivityPicker only shows apps for parent device
I have the same app running on both a child ipad and a parent iphone. On the child device, I enable screentime controls (via requestAuthorization(for:)). The on the parent device, I want to be able to monitor the child's apps, so I expect that when I display a FamilyActivityPicker, I would choose from the apps on the child iPad. But instead, when I show FamilyActivityPickeron the parent iPhone, it shows the apps on the parent iPhone and none of the apps on the child iPad. Are there additional configurations steps that I'm missing?
1
0
424
Jul ’24
UIBarButtonItem: show 'menu' programmatically
Hi, I have a UIBarButtonItem that I create with a UIMenu, and it's added to the navigation bar: self.rightButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd menu: [self createMenuForAddItem]]; self.navigationItem.rightBarButtonItems = @[self.rightButton]; The menu shows fine when a user clicks on the bar button. Now I want to also show this menu programmatically, for e.g if the user opens the app for the 5th time, the menu from the bar button item shows automatically, without the user having to explicitly press the button. How do I achieve this?
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
862
May ’24
Reply to ATS tls_handshake[-9024] error
Hi Esckimo/Shirish ,I am having similar error but his solutions did not work for mine.. I still get this error :NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9801)Simulator is running is running but its showing no internet connection . btw I could not be able to run TLStool , i got same directory error . thanks
Aug ’17
how to show different launch screen for different language
I am making a swift app supporting multi language ,showing proper language ui according user's phone setting language, I want to launch different screen (showing different image, boot-en.jpg, boot-ja.jpg) according language,i created two LaunchScreen files ,LaunchScreen-en.storyboard and LaunchScreen-ja.storyboard and localize them ,and add a different UIImage to them, then create two InfoPlist.strings file with congfiging .UILaunchStoryboardName = LaunchScreen_en; // UILaunchStoryboardName = LaunchScreen_ja;// and then **config info.plist ** with UILaunchStoryboardName LaunchScreen above all steps ,build and run,hope to see launch screen showing boot-ja.jpg when phone's language is Japanese, showing boot-en.jpg when phone's language is English, but it shows black screen, how to fix this problem, thank you.
Replies
1
Boosts
0
Views
453
Activity
Nov ’24
Reply to Code Coverage Not Showing In Editor
I saw something like this recently (yesterday). I turned on Code Coverage then ran the app. The Code Coverage slider bars showed that ONE Swift file had 0% coverage. Since I just added a bunch of tests that tested that file, it was surprising, When I clicked the icon to go to the code in that file, it showed the Code Coverage column that showed how many times the line was called...ALL were called...yet the Code Coverage slider bar showed 0% on that file....Today when I run it, now it shows 100% on slider bar and in the file. Go figure. Gremlins were running wild yesterday holding that slider bar at 0, today they are sleeping. Who knows? By the way I'm using Xcode 8.3.3. I tried using Xcode 9 a few days ago and got errors in this area, so I went back to something more stable.
Replies
Boosts
Views
Activity
Aug ’17
Notifications stop showing Catalina
Hello,I'm currently trying to run an app on Catalina, and I reach a state on Catalina where notifications stop showing entirely. The notifications in my app are managed by a separate XPC service, which uses the NSUserNotification class to create our notifications. However, when I first install it, I see the following message in the console logs:default 09:01:31.467209-0700 NotificationCenter Looking up app info for <xpc identifier>.error 09:01:31.474550-0700 NotificationCenter Failed to find <xpc identifier>. Will check again next time we get a message from app.After choosing to allow notifications from my app. Then, when I try to send myself notifications on the app, I see this:Denying message { message_type: 3, immediate: true, encoded_notification: <data: 0x7f8ffc51bf30>: { length = 1276 bytes, contents = 0x62706c6973743030d4010203040506070a58247665727369... },} from connection <LegacyConnection identifier: <xpc identifier>. type: Application>I know that cons
Replies
0
Boosts
0
Views
634
Activity
Sep ’19
familyActivityPicker only shows apps for parent device
I have the same app running on both a child ipad and a parent iphone. On the child device, I enable screentime controls (via requestAuthorization(for:)). The on the parent device, I want to be able to monitor the child's apps, so I expect that when I display a FamilyActivityPicker, I would choose from the apps on the child iPad. But instead, when I show FamilyActivityPickeron the parent iPhone, it shows the apps on the parent iPhone and none of the apps on the child iPad. Are there additional configurations steps that I'm missing?
Replies
1
Boosts
0
Views
424
Activity
Jul ’24
UIBarButtonItem: show 'menu' programmatically
Hi, I have a UIBarButtonItem that I create with a UIMenu, and it's added to the navigation bar: self.rightButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd menu: [self createMenuForAddItem]]; self.navigationItem.rightBarButtonItems = @[self.rightButton]; The menu shows fine when a user clicks on the bar button. Now I want to also show this menu programmatically, for e.g if the user opens the app for the 5th time, the menu from the bar button item shows automatically, without the user having to explicitly press the button. How do I achieve this?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
862
Activity
May ’24
Xcode simulator is not showing
Xcode simulator does not show on my MacBook pro M1. I go to Applications, Xcode, right click, contents, Developer, Applications, and then double click on Simulator. It opens the app, it appears in the dock as open, but it does not show the phone I want to.
Replies
1
Boosts
0
Views
882
Activity
Jul ’24
Why is launch screen not showing?
I just noticed I have the problem of the launch screen not showing as I had before. Instead it shows just black.Here is my last question about this: https://forums.developer.apple.com/thread/77733. I never got a good answer. Anyone know how to fix this?
Replies
8
Boosts
0
Views
7.6k
Activity
Oct ’18
AR project: There was a problem running this page
Hey, its showing me that There was a problem running this page after adding more than 2 layers to my AR project. Please how can I solve this and be able to have more layers? my code:
Replies
0
Boosts
0
Views
602
Activity
Feb ’22
Reply to ATS tls_handshake[-9024] error
Hi Esckimo/Shirish ,I am having similar error but his solutions did not work for mine.. I still get this error :NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9801)Simulator is running is running but its showing no internet connection . btw I could not be able to run TLStool , i got same directory error . thanks
Replies
Boosts
Views
Activity
Aug ’17
Why will my view controller not show when performSegue is called?
I have a storyboard segue from one view controller to another. When I call performSegue on that segue, the performSegue method runs as it should, as the print statement in it prints to the debug window, but the second view controller doesn't show. What should I check in order to fix this?
Replies
4
Boosts
0
Views
555
Activity
Dec ’17
Reply to xcode 6.4 won't start
How long did you wait? I have seen some versions of Xcode bounce for 5+ minutes the first time they are run. Does Activity Monitor show processor activity?
Replies
Boosts
Views
Activity
Aug ’15
Reply to Updating a new version of an app
The problem I am having is on Xcode/product/archive it runs successfully but does not display the Xcode/window/organizer page showing the archive that was just created.
Replies
Boosts
Views
Activity
May ’17
Reply to Xcode New File
So I can't create more than 1 program? If there is only one program there it runs perfectly but as soon as i add another another it shows an error.
Replies
Boosts
Views
Activity
Nov ’20
Reply to XCode 14 compile errors immediately disappear or do not appear at all
As Xcode 14.3 does not have running in Rosetta option, unchecking Show live Issues in Xcode setting at least prevents errors from disappearing.
Replies
Boosts
Views
Activity
Apr ’23
Reply to Metal and Swift Concurrency
For example, the Compositor Services documentation shows an example of spawning a thread to run your renderer. For CAMetalDisplayLink, you must add the display link to a CFRunLoop.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Jun ’24