Fingerprint implementation in iOS [duplicate] - ios

This question already has answers here:
Authentication using ios keychain - touch id (is this possible) [duplicate]
(2 answers)
Closed 8 years ago.
Apple has released Finger Print scanning in iOS 7.
which SDK do we use for implementation?

There is no publicly available SDK for it yet. Nor there is privately available SDK for this.
It is only used in iPhone 5S but not in iOS 7 in general.
You can't use it even if you jailbreak your device - Xcode does not publicly provide such mechanisms.

Fingerprint can be used only for unlocking iPhone and AppStore purchases. There is no public API for 3rd party developers.

No, iOS SDK does not have any public API for TouchID access. This is done for security reasons I suppose. Confirmation from Apple's official developer forums (You have to login using your AppleID).
There is also a rdar://14958904 filed for this: Touch ID API. Hopefully in future releases Apple makes the sensor data available through a public API for 3rd party developers.

Related

Is there any way to completely turn off an ios device programmatically in xcode? [duplicate]

This question already has an answer here:
How to power iOS device off [duplicate]
(1 answer)
Closed 7 years ago.
I want to make an application that would turn off an iphone at a set time every night;
Absolutely not! (Unless we are talking about a jailbroken app.)
Apple has a very strict sandboxing approach for third party apps. To access the system, you have to use the provided iOS APIs and none of them offers this kind of control.

Application Transport Security (ATS) and app submission

I searched online extensively but could not find any concrete/official information on the following questions related to submission of an app affected by ATS.
Q: ATS is applicable only on iOS 9 onward. What happens to older apps (built for iOS 8.x and below) when the device is upgraded to iOS9. Will they have ATS disabled by default or will they stop functioning if they are not ATS compliant?
ANS: Apps built for lower SDKs will opt-out of ATS by default. Was able to verify this using an iOS 9 beta 5 device.(app-dev-forum link)
Will applications that set the global ATS disabler flag (allowarbitraryloads) be admitted to the app store?
After iOS 9 releases, can apps linking to older SDKs can still be submitted to the marketplace? Apple is currently accepting apps with deployment_sdk of iOS 5
After iOS 9 releases, should apps be built with the release version of the SDK?
Q: I heard that if an app is built against beta versions, it will be rejected. Please correct me if I'm wrong.
ANS: Yes. Apps based on beta version of SDKs will get rejected.
Great if you can answer any of the above. I'll compile the answers in this post to make it easy for later reference. Would be great if you add any official links for ref. Any help is really appreciated.
As you said in your updated question, pre-iOS-9 apps are unaffected by ATS, because it only applies to apps linked against the iOS 9 (or later) SDK.
Yes. Disabling ATS globally is fine as long as there's a good reason for doing so.
With iOS 8, I think Apple started requiring apps to be built against the iOS 8 SDK about five months after iOS 8 shipped. So Apple might require you to build against the iOS 9 SDK at some point. Or maybe not. It's anybody's guess.
Yes, iOS apps should be built against the iOS 9 SDK at this point. Linking against the iOS 9 SDK probably won't be required (at least initially), but it is usually a good idea to keep up-to-date.
Yes, you must build against the final iOS 9 SDK version rather than any previous iOS 7 beta SDK.
Some of my answers are based on a personal experience, some on openion and some on documented apple guide lines.
It will not function on iOS 9 device.
From a personal experience. I had live app. that was functionning
perfectly in iOS 8.2 devices and once iOS 8.3 got released and those devices updated the App.
suddenly start crashing.
Set the ATS flag, build with iOS 8 (Xcode 6.X) and submit to the store.
PList is just a text file. It always can have non-recognized items by apple. As we always add values there for 3rd party libraries. I strongly don't think that apple's "current automated checker" will or supposed to check a future flag. and they will function for iOS 9 for the same reason app start crashing on point one!
Yes. Those should include the ATS flag. Otherwise, will be rejected.
Apps that do not perform as advertised by the developer will be
rejected. (2. Functionality 2.3)
NO.
Not applicable to force all developers to update their enviroment.
They only have to add the flag. Apple never did such a sudden
restriction.
True.
Refere to this answer. that shows a screen shot here.

How to power iOS device off [duplicate]

This question already has answers here:
Activate airplane mode programmatically?
(2 answers)
Closed 7 years ago.
Yes. I actually think that what I am asking is impossible but I'd like to know if you have any idea how to power the iPhone off with swift or objective c code, or at least enter the airplane mode.
You cannot do this with the Public APIs provided by apple. This may be done using the unreleased Private APIs.
But According to Apple's policy, usage of any Private APIs will lead to rejection of App from App Store.

Does iOS 8 include an NFC SDK for developers? [duplicate]

This question already has answers here:
Reading NFC Tags with iPhone 6 / iOS 8
(7 answers)
Closed 8 years ago.
Today, Apple announced eminent release of the iPhone 6, which will include a NFC chip.
Did Apple announce an NFC SDK for developers to utilize the technology?
It does include PKPayment Class (it contains payment information encrypted in the payment token) and related classes Passport Kit, which is what is used for payments. There are API's for no direct communications with the chip.
Apple has not announced any new SDK other than WatchKit on today's event. iOS 8 and Xcode 6 (with iOS 8 SDK) has went GM though, so if it's not there, it won't be there for the final release of iOS 8.

iPhone installation of a Non AppStore app [duplicate]

This question already has answers here:
iOS In-House App Distribution
(2 answers)
Closed 8 years ago.
I am developing a test suit for iOS devices (not a consumer product), The app should run on a selected set of devices that are used for testing.
The App incorporate code that will not go through AppStore verification, eg. It is sending system-wide Key-Stroke events.
Using a developer account an app can be installed on a selected set of devices used for testing.
The App should be part of a Turn-Key solution, and thus, cannot require a dev account, while still, should be installable on an iOS device.
Having the above use-case in mind, is there any way of installing an App on a non JailBroken device w/o having a developer account ? ( Same as w/ Android )
Any help will be appreciated.
No code ever goes through App Store verification. Apps get verified. Code does not. No one at Apple can see your code even if they wanted to.
You can use Apple's enterprise stuff to do this. You can either distribute through the App Store (to a specific set of devices) or host it yourself.
If you look at the Apple enterprise stuff you can find more details.
Here you go... https://developer.apple.com/programs/ios/enterprise/

Resources