Is there a method to add a third (or more) touch location on the iOS simulator?
Holding down the Option key will give you a second touch point... but I haven't figured out how to enable more and would like to.
Thanks,
This app & framework, iSimulator, seem to be good ways of doing this, if you're still looking for this to be answered.
iSimulate is an application/library pair designed to solve the issue
of not being able to use multi-touch and the accelerometer in the
iPhone Simulator. Now, with iSimulate on your iPhone or iPod Touch, it
wirelessly sends multi-touch events, the accelerometer and compass
events, and the GPS location to the iPhone Simulator.
http://www.vimov.com/isimulate/features/
Saw it mentioned here:
http://iosdevelopertips.com/tools/isimulate-testing-multi-touch-events-accelerometer-movements-using-xcode-simulator.html
Related
I'm really new with A-Frame / Web VR. I'd like to ask you when I am on my mobile in VR mode how can I prevent the controll / camera move? For example when I switch to VR mode I want to use my usb mouse for moving just like in "normal mode" and not the device's sensor. Is it possible?
Thanks.
I don't think this is currently possible. Another potential issue with this approach is that it will likely cause simulator sickness:
The most important guideline in designing for virtual reality is to always maintain head tracking. Never stop tracking the user’s head position inside of the application. Even a short pause in head tracking will cause some users to feel ill.
https://designguidelines.withgoogle.com/cardboard/designing-for-google-cardboard/physiological-considerations.html
That said, if you're purpose for this functionality is for spectating on a 2d screen, A-Frame 0.8.0 allows you to add a spectator camera:
https://aframe.io/docs/0.8.0/components/camera.html#properties
There are no tutorials for this yet, but you could try adding asking another question here or on a-frame slack on how to get it up and running.
My HTC Vive is set up in a different room to my developer workstation. When developing for A-Frame, I understand I can: use my desktop monitor instead of a headset; use mouse dragging instead of motion controls; use WASD instead of room-scale tracking. However, what is the preferred way to simulate the tracked controllers?
For example, how can I move the cubes in this demo from my desktop: https://aframe.io/examples/showcase/tracked-controllers
This is not yet released, but we're working on tools to be able to record camera and controllers, output to a file, and then you can load it up any device and replay the camera and controller pose and events without needing a headset. Project is led by Diego:
https://github.com/dmarcos/aframe-motion-capture
http://swimminglessonsformodernlife.com/aframe-motion-capture/examples/
This will become the common way to develop for VR without having to enter and re-enter VR to test each code change, and to do it on the go
Can someone tell me if we can simulate 3DTouch with the Xcode 8 iOS simulator and how?
The option in my simulator looks like disable.
You need a Force Touch-enabled device, so either a Macbook with Force Touch-enabled trackpad, or any(?) Mac with a Magic Trackpad 2.
Did not tried it myself, but positive feedback here :
I can confirm that with Xcode 7.3 beta 5 (7D162j), I see a menu item in the Simulator for "Use Trackpad Force for 3D Touch." And when I connect my Magic Trackpad 2 to my '14 MacBook Air, that menu item becomes enabled and I can access peek & pop, shortcuts, and pretty much everything else. It's not a perfect simulation of 3D Touch (after all, they're based on different user-interaction paradigms), and there's a bit of lag, but it should be more than sufficient to test on the simulator.
From: https://forums.developer.apple.com/thread/26744
I am looking for the keyboard shortcut for Going Back (to last screen) using the iOS Simulator.
I have tried searching, I didn't find anything.
I know this thread is old, but am gonna answer, it may help some on.
I dont know about a keyboard short cut to go back to the prev screen but on my iphone 12 simulator, I am swiping from the most left part of the screen to the right horizontally. Its working.
The iOS Simulator just runs iOS, so the way you would "go back" in the Simulator would be the same way you do on device. If you designed you application to "go back" with cmd-b (for instance), you would issue cmd-b in Simulator while your simulator device has focus. If you go back with a given swipe gesture, the same gesture should work in the Simulator.
I am attempting to record an app demo on the simulator, and want to use the Quicktime screen capture feature. However, I would like to hide the mouse during the capture.
Is this possible?
Doesn't seem to be a built in feature, so I am assuming I need to use some sort of plugin or hack.
Any suggestions?
QuickTime itself does not seem to offer this functionality therefore you have to resort to some other means to hide the cursor. On OSX there are some tools that allow this.
Cursourcerer is the first that springs to mind. However, as this really hides the cursor, it might not be ideal as you yourself will not be able to see what you are doing.
However, if you do not need to use QuickTime per se, it seems there are commercial screen recording solutions allowing this sort of thing such as Screenflow. I am not affiliated but the price seems reasonable and there is a demonstration of desired behavior here.
You don't record your app in your computer, but directly on your iPad or iPhone, connected to your Mac with a lightning cable. Then in Quicktime you select the "New movie recording" option (instead of "New screen recording"), then you will be able to select your iPad/iPhone as the "camera" and start recording your app running in your iOS device without any mouse pointer.
https://obsproject.com/
OBS can record your app window, and it ignores the cursor on the window.
Useful even if you are not a youtuber.
Cursorcerer for 10.14+ ⇨
http://doomlaser.com/cursorcerer-hide-your-cursor-at-will/
MouseHider.app for 10.13 and earlier ⇨ https://apps.apple.com/us/app/mouse-hider/id894419721?mt=12
I use option+command+k (⌥+⌘+k) to show / hide. It works globally.
It's also useful to hide the mouse cursor when you do the control-scroll zoom trick to focus in on a video.