Focus engine tvOS - ios

I have searched on google and found a couple of example for tvOS focus engine. does this tvOS feature work on iPhone or iPad?
Can a user interact with touch instead of apple remote on iPhone or iPad?

The tvOS focus engine only works for tvOS devices, like the Apple TV, and the feature does not work for iPhones or iPads.
Yes, the user interacts using touch on iPhone and iPad (iOS devices) instead of the Apple remote.
From the App Programming Guide for tvOS
On iOS devices, a user interacts directly with the touchscreen. On Apple TV, a remote is used to control the interface indirectly.

Related

How do I make an iOS app support iPhone 6, without supporting iPhone 5S?

I want to support iPhone 6/6+, but not iPhone 5S. I know that I can use screen size to detect an iPhone 5S, but I don't want iPhone 5S users to be able to download the app in the first place. Is there a way to do that?
Apple will only allow you to restrict apps in the App Store by iOS version. If you create an app that doesn’t work on a device that supports the OS, from my experience Apple may give you trouble with publishing it to the App Store.

iPod Touches and Development

I've begun developing the iOS version of my app. While I have a working android, I don't have a working iPhone and I will not spend the $1000 for the new one. I found some older posts, which said yes to this question, but I wanted to make sure it was still valid before I buy an iPod touch. I was wondering, that so long as my app doesn't use iPhone specific hardware (like GPS) if I can just use an iPod touch for development. And if it works on the iPod touch, does that imply it will work on iPhone (again, given the hardware constraints).
Thanks for the help.
An iPod touch is an iOS device. All iOS apps not specific to just iPads will run on any iOS device, including iPod touches. This is true as long as the app doesn't list a required device capability not found on the given device.
So yes, in general, using an iPod touch to test an iOS app is perfectly fine. Use it along with all of the different simulators to make sure your app works properly on all of the different screen sizes. But you should always test an app on a real iOS device since the simulator has limitations such as no camera, inability to send email, no ability to launch other 3rd party apps, a case-sensitive file system (normally the simulators are case-insensitive), etc.
Just be sure you get the latest iPod touch that supports iOS 11 (the 6th gen). Keep in mind that even the latest iPod touch may not be useful for more than a year, maybe two, with regard to being able to install the latest version of iOS.
You could also look into a refurbished iPhone 6s or even a new iPhone SE. Both are much cheaper than $1000. As I write this, you can get a refurbished iPhone 6s for $369 USD. Though a refurbished 6th gen iPod touch is $149 USD. But buy the newest device you can afford. A cheaper device that won't run iOS 12 or 13 isn't much of a bargain.
I find the https://en.wikipedia.org/wiki/List_of_iOS_devices page useful to know what devices run which versions of iOS.

Is it compulsory for app to support all iPad devices

I developed it only for iPhone but Apple has this rule that iPhone app must support iPad. Therefore, I developed another version that also includes iPad support and design. Is it necessary for app to support all iPad devices.i.e. iPad 2, iPad Air etc? Or only support to one iPad device will work?
It isn't compulsory, you can set your app only for iPhone devices and you can install it in iPad too. The only thing is that the appearance of your app in iPad devices going to be similar than in iPhone devices.

Remote Control iPhone device without Jailbreaking the device

I am working on enterprise application which will allow the desktop to control iPhone devices. Basically so far i am able to display the iPhone screen in the desktop screen using private framework. But i am stuck in sending events to the iPhone. I am getting x and y points but fails to simulate touch event in iOS 7. As touch event is possible in iOS 6 and below with using GSEvent private Framework. Also i have used iOHID events in iOS 7.1 but it is not working on device. Does IOHID work on non-jailbreak devices?. Please help me.

Detecting iOS AirPlay screen mirroring capabilities

I've developed a user experience in my iOS app for displaying a different view on an external screen connected via AirPlay screen mirroring or HDMI out. I have a setting to enable/disable this feature, allowing the user to choose between this mode and true mirroring (i.e. same experience on both screens).
Since many iOS devices don't even support external displays (iPhone 3GS and earlier, iPod touches) and some only support HDMI out (iPhone 4, iPad 1, iPad 2 with iOS4), I'd like to tailor the settings UI for each category of device.
I know it's good practice to detect capabilities whenever possible and not to avoid checking the version of the device itself. However, I haven't found anything online about detecting AirPlay support, just how to code for it.
Is it possible to detect AirPlay/HDMI support in the SDK?
(Apple's documentation on developing for external screens:
http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/CreatingWindows/CreatingWindows.html)
No, not directly and in a summary fashion.
I think you would probably be best off detecting the device version and using that as the basis of your UI.
If you really believe that is bad practice, I suggest you explore Erica Sadun's UIDevice extensions - you might be able to find in there the code necessary to query enough specific capabilities to create an abstraction that would let you know if a device is AirPlay/HDMI capable. If you do that, I hope you share it!
UIDevice-extension: https://github.com/erica/uidevice-extension
As a side note, don't forget about the VGA adapter. I have tested my app with it at 1080p and it works/looks as good as the HDMI adapter, which was a big surprise to me.

Resources