The question is very simple, but i haven't found an answer.
How can i take a screenshot on tvOS?
In simulator is straightforward, just File -> Save Screenshot, but on a real device?
I already tried some combination of buttons, but nothing happened.
Let me know. Thank you.
With the Apple TV connected to your development machine via USB.
Steps
In XCode from the menu Window -> Devices
Select the Apple TV on the left representing your device.
On the device, configure the screen the way you want to capture it.
Click the Take Screenshot button.
It will save the screenshot to your development Mac
The new screenshot appears on the desktop.
For reference:
https://developer.apple.com/library/ios/recipes/xcode_help-devices_organizer/articles/capture_screenshots_from_device.html
Related
So currently I am working on a Macbook Pro which Screen is cracked! the problem is I need to somehow execute a skript that i can activate with the Touchbar of my macbook to tell To
open the Mission Control
Select the Screen Mirroring
Select the Ipad.
Is there any way?
otherwise the Same Would be
Apple Symbol
system settings
Display
click on the plus icon
Select ipad
i am really new to skripting or coding!
But I would be really grateful about some useful links or starting points!
I tried to find some other ways, but the other ways are outdated...According to the skripts I haven't found any thing which brings me closer to solve my problem.
I downloaded a screen mirroring app, but i think there must be a shorter way to use this feature...
Thanks in advance!
For Xcode 6, the older Xcode 4 & 5 Organizer menu item has been split up into both an Organizer and a Devices set of menu choices.
Under the Devices menu item, you'll see a list of the various devices Xcode knows about, in addition to simulators and things like that.
And a cleaner looking interface that lists device information, installed apps for each of those devices, etc.
Here's my question:
There are two bigger buttons on the new Devices page. One is "View Device Logs" and the other is "Take Screenshot".
If one presses the "Take Screenshot" button to take a screenshot of what's on the connected device, there's no obvious way to actually view that screenshot.
Does anyone know how to view the screenshots that were taken from the Xcode 6 Devices menu? Hard to believe that's an oversight on the Dev Tool team's part.
Six minutes after asking my question I figured out the answer. There's a tooltip that pops up when hovering over the "Take Screenshot" button.
The screenshots get saved directly to the desktop and you'll see them saved there with the filename format "Screen Shot YYYY-MM-DD at HH.mm.ss AM/PM.png".
I wanted a different title to be displayed in the sub-title under my iPad app's icon and changed the Product Name for my app under Build Settings.
This worked but has had a strange side effect. Whilst the app continued to work perfectly on a connected iPad, on the emulator it now behaves in a similar way to that described in [this question].1
Namely, it says it has finished running <my app> on iPad 6.0 Simulator
I tried changing the Product Name back but the problem persists.
I also tried some of the suggestions on the other question (e.g. removing armv7 frfom Required Device Capabilities) but nothing worked.
This isn't a showstopper at the moment as I have a real iPad to test on but I'd still like to understand what is going on, if anyone knows.
Sounds like time for a reboot of the Mac. Restarting Xcode might suffice. One other thing to try is to delete the app from the simulator.
I have seen this on iPhone simulator 6. Many a times, when you click "Run" again - it runs without problem.
However if that doesn't work, you may try one of the following:
Project->Command+Alt+Shift+K - a choice will appear saying something like clean folders. Do it.
In organizer, go to derived data folder (finder) using tiny arrow just at the right of your project. Try deleting your project from finder. If it doesnt delete at once, try it often.
Try resetting iPhone or iPad simulator.
Exit XCode and reopen project. Do the same with iPhone / iPad simulator.
If you are wondering why this is happening, no one really knows! It's just some flags gone bad, restored once you re-do everything for it to work, that's it.
Have you tried switching off the Debugger?
So Edit Schemes -> Debugger -> None
Also restarting the Simulator and Xcode and cleaning the project may help
Use another way: click on the azure icon of your project, keep the trackpad pressed until you see it allows to edit the name. Choose the name that you want, then a sheet like this will appear:
Click "rename" and you're done with it.
Is there away to copy a screenshot directly into an Adobe Air (2) application?
Kinda like this: User presses the "print screen" button and the screenshot shows up in the app.
Also I'ld like to know if pasting via keyboard or right-click work for that?
I'm new too AIR.
Best, John
Yes, it can be done.
But no, not directly from Air, unless you wish to capture parts of your own AIR UI (which should be no problem as these are within the scope of the AIR Application)
To capture the whole screen you would need to use an ANE (Adobe Native Extension) which can be written
both for iOS and Android devices and used from within AIR via an API.
Introduction to ANE Development:http://help.adobe.com/en_US/air/extensions/air_extensions.pdf
The following post discusses on the way by which an Air ANE can capture a screenshot (which is technical and relevant for developing such an ANE for Android)
How Native Extension take screenshot on Android device?
Other then this you might try a workaround, that is, instructing the user to capture using his own device's capture combination, then simply ask them to select the file from the Gallery, if indeed this is your intention...?
I'm distributing my first Mac OS X application to beta-testers and i have a silly question but have trouble finding the answer :
"Where is the output of NSLog calls once your application is packaged into a .app bundle ?"
Henry,
Asked and answered: Here
Basically, stdout/stderr go to the console log, visible with the Console.app.
There is not so elegant but quite user-friendly method. It is an Organizer. Yes, I know, it is a part of Xcode. You can blame me for the fact that my answer is supposed to reveal some xcodeless method but you can use the method described below even if you have no source code. It could be useful in some cases.
So, here is the method:
Open Xcode.
Select Window -> Organizer menu item.
Select your plugged iDevice there.
On your iDevice check that Settings -> Developer -> Logging switch control is on.
Launch the app.
In Organizer select Device Logs tab. There are all the logs of your device to the moment.
If there are no logs at Device Logs tab check #4, then reconnect the device. In some case you should then restart Xcode.