Search results for

show when run

112,665 results found

Post

Replies

Boosts

Views

Activity

Preview on IMessage ( running on IOS 10 ) does not show GIF
Hi,I have added open graph meta tags to my website to leverage preview ( rich links) on IOS 10 for IMessages . Share works fine if the OG tags contain image / video . Where as if I am trying to have gif in og:image property with og:type property as video.other the preview on the IMessage ( on IOS 10 ) does not show gif rather shows just image ( I observed it shows first frame from GIF in the preview ) .But this blog shows GIF preview working on IOS 10 : http://mashable.com/2016/07/10/apple-ios-10-gifs/#5BHGM.lN08qq .
0
0
1.9k
Aug ’16
Xcode 8.1 not run any app and not show simulator and got freeze
Last night I suddenly xcode will stop running my project.Only one project will run and show the error - XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1One think I do before is I press alt+shift+command+k to clean the build folder for “my project”? in Xcode.Now I check the simulator list also not showing. I didnt find whats going on.I working on swift on an iOS application. please help me out
1
0
313
Dec ’16
Array Only Shows Populated After Second Run Through
In attempts to store info from URL string by the google api page, the array only shows population after the second run through. This is what I got: @IBAction func searchPlace(_ sender: Any) { nearBy() } func nearBy() { var googleURLAPI = URLComponents(string: https://maps.googleapis.com/maps/api/place/nearbysearch/json)! googleURLAPI.queryItems = [ URLQueryItem(name: location, value: (origin.latitude),(origin.longitude)), URLQueryItem(name: radius, value: 15000), URLQueryItem(name: type, value: Fast Food), URLQueryItem(name: keyword, value: Food), URLQueryItem(name: key, value: Key), ] print(googleURLAPI.url!) var urlRequest = URLRequest(url: googleURLAPI.url!) urlRequest.httpMethod = GET let task = URLSession.shared.dataTask(with: urlRequest) { (data, response, error) in do { if let error = error { throw error } guard let data = data else { print(data is nil) return } //For debugging, show response data as text //print(String(data: data, encoding: .utf8) ?? ?) guard let jsonDict =
9
0
1.4k
Jan ’21
Review Alert not showing in MacCatalyst App
I'm trying to show a review alert using this code: DispatchQueue.main.asyncAfter(deadline: .now()+1, execute: { if let scene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene { SKStoreReviewController.requestReview(in: scene) } }) I'm using MacOS Ventura, with minimum deployment target for macCatalyst as 14.0. This code works on iOS but nothing shows when running for macCatalyst in debug mode.
3
0
1.3k
Dec ’22
xCode - Run Devices not showing iPhone Simulator
Hi guys, Background: I'm new to xCode and I've been following tutorials to help get me started. I'm running xCode 15.4 on Sonoma 14.5 and I've installed iOS 17.5. I currently own an iPhone 12 Pro Max also with iOS 17.5. Issue: I can't see the iPhone 12 Pro Max as an option in Devices. I've added the iPhone 12 Pro Max to devices by going to Window -> Devices and Simulators -> Simulators and also restarted xCode. Making a new schema for the project did resolve the issue either. Please see below the simulator list that I have added to xCode. Any help would be greatly appreciated.
0
0
624
Jul ’24
Xcode 12.2 does not run default Hello World application on iPad, shows black screen.
So this is Odd. I start a new application, and simply try to run it on my iPad mini and it shows a black screen. However, once I stop the application, I can then run it correctly on my iPad by pressing the icon. It also runs fine on the simulator. But to recap, the Hello World application just shows a black screen when it is actively running on my device. Any ideas?
1
0
993
Nov ’20
XCode 15 Beta 5 does not show my iPhone as a run destination
I am a TS developer that is new to XCode. I have an Apple Developer account. I installed XCode 15 Beta 5 earlier today. I have created a very basic application that will run in XCode simulators, but I cannot get my iPhone to appear as an option in the Run Destinations. I suspect a mismatch in the iOS of the phone and the iOS for the App/Target. The phone is iPhone 11 Pro, iOS version 16.5 (which is why I had to use XCode 15 Beta, as XCode 14.3.1 only works for up to iOS 16.4). I am unable to select 16.5 as the Project, iOS Deployment Target (see image): ...typing in 16.5 results in the text field clearing to blank automatically. ...I am able to define 16.5 as a Targets, minimum deployments: The phone is OK, and I had it working in earlier versions of XCode. Right now, the phone is not showing up in run destinations: When I click on No eligible devices connected to ... in that drop down, I confirm that the phone is valid ...and if I hit Next at the bottom of that image: I do
3
0
3.7k
Aug ’23
Reply to Why NSAppleScript is thread-safety but used only from main-thread?
They do not say it is threadSafe.In first doch ttps://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Multithreading/ThreadSafetySummary/ThreadSafetySummary.htmlthey state :Main Thread Only ClassesThe following class must be used only from the main thread of an application.NSAppleScriptIn the second,h ttps://developer.apple.com/library/content/releasenotes/AppleScript/RN-AppleScript/RN-10_6/RN-10_6.htmlthey explain that you can now run several instances of NSAppleScript safely, but do not tell it is threadSafeAppleScript Editor is now more responsive while running a script, and can run several scripts simultaneously. Previous versions would let you start running a second script, but the first one would pause until the second one finished. It does this by running scripts on background threads. If this causes trouble, typically because a third-party scripting addition has claimed to be thread-safe but isn’t, you can force the script to run
Topic: UI Frameworks SubTopic: AppKit Tags:
May ’18
macOS 26: Menu bar icon not showing for Python app running PySide6
Since macOS 26, including the latest 26.1, the menu bar icon does not show up for our app called Plover which is built with PySide6 (based on Qt 6) and runs via a relocatable python that is packaged into the app. The code is open source and can be found on GitHub. The latest release, including the notarized DMG, can be found here. When running the .app via the command below, the menu bar icon does show up but the process that is running is python3.13 and not Plover: /Applications/Plover.app/Contents/MacOS/Plover -l debug When running the app by just clicking on the application icon, the process is Plover but the menu bar icon is not showing - also not in the settings (Menu Bar > Allow in the Menu Bar). Before macOS 26, the menu bar icon was always shown. Some pointers to potentially relevant parts of our code: shell script that builds the .app Info.plist plover_launcher.c trayicon.py This problem might be related to this thread, including the d
7
0
303
Nov ’25