ios9

How to use AVCaptureSession with Slide Over and Split View in iOS 9?

喜欢而已 提交于 2019-12-02 19:10:55
My team is developing a set of SDKs for barcode scanning , ID scanning and OCR . We use device's camera, specifically, AVCaptureSession , to obtain video frames on which we perform our processing. We're exploring new iOS 9 multitasking features Slide Over and Split View. Apple suggests opting out of these features for camera-centric apps, where using the entire screen for preview and capturing a moment quickly is a primary feature ( reference ). This is the approach the use in their sample app AVCam . However, our customers might have apps which don't fall into this category (e.g Mobile

About ATS SSL in iOS 9 release version

故事扮演 提交于 2019-12-02 18:08:01
问题 My apps use http, and doesn't update for iOS9 yet. Today I upgraded to iOS9 on my iPad, all my apps are still working using http. It seems Apple doesn't force https in iOS9 release version. Does anybody know when will Apple force do it or Apple won't do it? For some reason, I don't want to update my apps. 回答1: ATS is enabled on apps that are built on Xcode 7 but not on apps that are built with an earlier version of Xcode. This is to prevent hundreds of thousands of apps from 'breaking' on iOS

iTunes Connect error: “An In-App Purchase has been returned”

心不动则不痛 提交于 2019-12-02 18:04:08
I'm seeing the following error in iTunes Connect in the in-app purchase section for my app: An In-App Purchase has been returned and is highlighted in the table below All of the in-app purchases for a new app have been rejected. They all show a status of Developer Action Needed . Going to each individual in-app purchase shows an exclamation sign with: Your In-App Purchase has been returned. You must modify or delete the highlighted item. However, it there's no explanation at all of what the error is. This seems to be a problem a lot of developers have just started seeing: https://forums

How can I reset iOS 9 Universal Linking settings?

佐手、 提交于 2019-12-02 17:27:34
While testing universal links on my iOS 9 app, I accidentally tapped "mywebsite.com >" (top right corner). This made the app navigate to the website again. Now I can't seem to make universal linking work again. Seems like iOS has remembered my preference that I would like to see links opened in Safari as opposed to my app. Has anyone run into this? Is there a way to reset this? You can long-press on a universal link and it will give you an action sheet with an "Open in 'AppName'" option. Once you select that option it will default to opening the links in your app again. sorry for my English.

How to upload file apple-app-site-association for universal linking in server for iOS app?

北战南征 提交于 2019-12-02 17:17:34
What is the procedure to upload apple-app-site-association file in server. stg1.example.com is website where universal linking need to be done and file should be uploaded in the root path of it.How to make the service to upload for universal linking in iOS . How to upload the json formatted file in the server ? Vineet Choudhary The apple-app-site-association file needs to be accessible via HTTPS , without any redirects, at https://stg1.example.com/apple-app-site-association . The file looks like this: { "applinks": { "apps": [ ], "details": [ { "appID": "{app_prefix}.{app_identifier}", "paths"

Swift 2 unrecognized selector in tapgesture

 ̄綄美尐妖づ 提交于 2019-12-02 16:29:54
问题 I recently started to update my app to Swift 2.0, but I've run into a problem that has a hundred different answers on SO, none of which seemed to be related to my problem. (This worked before updating the application to Swift 2.0), but I havn't been able to find any changes made to tap gesture recognisers? Here's the full error I'm getting: [Stocks.SidePanelViewController proFormulaTapGesture]: unrecognized selector sent to instance 0x14f06ae00 Terminating app due to uncaught exception

Taptic in iOS 9

烂漫一生 提交于 2019-12-02 16:18:57
Can you use the taptic engine in iOS 9 with iPhone 6s? WatchOS2 and OS X have the ability to use the haptic engine, so I assumed it would be in iOS 9 too, but I coudn't find any APIs for it. Yay, I had reverse engineered internal UIKit stuff and I found another (much simpler) way to actuate feedback via TapticEngine ! We can just use AudioToolbox framework and several magic constants. import AudioToolbox AudioServicesPlaySystemSound(1519) // Actuate `Peek` feedback (weak boom) AudioServicesPlaySystemSound(1520) // Actuate `Pop` feedback (strong boom) AudioServicesPlaySystemSound(1521) //

Detect which app is in foreground on iOS9 without jailbreak

♀尐吖头ヾ 提交于 2019-12-02 16:13:31
I'm trying to log users individual app usage on iOS9. I'd rather prefer that it wouldn't use jailbreak limited solutions , self explanatory. Doing the variation of this app on a jailbroken phone shouldn't be hard . This will certainly not be released on the App Store as Apple wouldn't allow it. I'm looking for any private API that can do this, any hidden iOS API's that can be used to do this. ANYTHING. What I've already looked through: how to determine which apps are background and which app is foreground on iOS by application id How to know about app launched and details jailbreak iOS 7 Is

iOS 9 Splash screen is black

不打扰是莪最后的温柔 提交于 2019-12-02 16:05:46
My apps' splash screens are all plain black after upgrading to iOS9. Does anybody know why this is? Some of them are using a .xib splash screen and some are using images, but they're all just black now. Does an app have to be built with Xcode 7 for the splash screen to work in iOS9? Has anyone seen some documentation on whether this is an intended breaking change from Apple? Thank you! UPDATE: Looking through the apps again it seems my older apps, which only had a Launch image and no .xib are still displaying correctly, so the issue seems related to the launch screen .xib UPDATE2: As hagi

3D Touch Home Shortcuts In Obj-C

╄→尐↘猪︶ㄣ 提交于 2019-12-02 14:42:23
All of my apps are currently written in Obj-C. The link https://developer.apple.com/library/content/samplecode/ApplicationShortcuts/Introduction/Intro.html#//apple_ref/doc/uid/TP40016545 for the sample code of implementing Home Screen Shortcuts with 3D Touch is completely compiled in Swift. Anyone come across documentation for Obj-C, so I don't have to go through my AppDelegate and translate it all? UPDATE: After adding in all the shortcuts in Info.plist, I added in the AppDelegate.m: - (void)application:(UIApplication *)application performActionForShortcutItem:(UIApplicationShortcutItem *