FranticRock

0

votes
0

answer
5

views

AVPlayer Lock Screen updates stop working, only when another AVPlayer instance is played in a subsequent view controller

I have an appliction with View Controllers A and B. View controller A is the presenter of view controller B (pushes it using a navigation controller). Both A and B have a seperate AVPlayer inside them (A's plays audio. B's plays video. Both local files from docs directory). VC A configure...
FranticRock
1

votes
1

answer
160

views

XCode8: UICollectionView edge-to-edge, Editing constraints in One Trait Variation (Size Class) breaks other Trait Variations

I am having an infuriating issue with Xcode interface builder. I have a storyboard where one view controller has a UICollectionView that's edge to edge to the View Controller's Root View. The root View has Descendant constraints of -16 and -16 for Leading and Trailing space to the UICollectionView....
FranticRock
1

votes
1

answer
101

views

UITabBarController duplicating the first UITabBarItem and nested tab bar title

I am using a UITabBarController with 3 tabs. The text of only the first tab is being duplicated. By using the view inspector, and inspecting the duplicated item, we can see that it is exactly the same object reference between the two tab bar items, which doesn't make sense. How can the same view...
FranticRock
1

votes
1

answer
82

views

Google Instant Android Apps - Can I use my existing Hosted Payment capture provider to capture payment data?

We have an Android fully native app that captures the credit card and payment info using a reputable company's hosted tokenization solution. (via Embedded Web View). Credit card number related info is not stored or transmitted to our servers at any point. We are evaluating whether we can jump on...
FranticRock
1

votes
2

answer
111

views

Objective-C How can I localize Time Duration: “1 Year”, “2 Years”, “3 Years”, etc

I need to localize all possibilities of: 1 Year, 2 Years, and On... (up to any number). 1 Month, 2 Months, and On... (up to any number). In various languages, the word: 'Years' changes based on the number in front of it. Such as in french: 22 Years = 22 ans 23 Years = 23 années So I can't use stri...
FranticRock
5

votes
1

answer
403

views

Apple iMessage Extension API. Detecting whether recipient is using iMessage

Is it possible to detect (programmatically), from an iMessage app extension: from the sender side: Whether the person you are talking to is using iMessage on their end, or they are an SMS/MMS user (Such as Android or Windows phone) Basically I need to tailor my delivery experience based on whether...
FranticRock
3

votes
1

answer
615

views

Unable to enable letter spacing (kerning) on UITabBarItem

I am trying to enable Text Kerning (increase Letter spacing) on UITabBarItem title labels. But providing the NSKernAttributeName attribute for the UITabBarItem does not make any difference. The other two attributes, however, are working: NSForegroundColorAttributeName, NSFontAttributeName. I have...
FranticRock
3

votes
3

answer
1.2k

views

iOS11 ARKit: Can ARKit also capture the Texture of the user's face?

I read the whole documentation on all ARKit classes up and down. I don't see any place that describes ability to actually get the user face's Texture. ARFaceAnchor contains the ARFaceGeometry (topology and geometry comprised of vertices) and the BlendShapeLocation array (coordinates allowing man...
FranticRock
5

votes
1

answer
959

views

DialogFlow Webhook API V2 - How to get Authorized User's accessToken?

In my DialogFlow V1 Webhook, I used to get the user's access token like this (node.js): exports.voxGoogleHomeWebhook = functions.https.onRequest((req, res) => { const app = new WebhookClient({request: req, response: res}); var accessToken = app.getUser().accessToken This does not work in...
FranticRock
4

votes
3

answer
236

views

Xcode 10: Code Signing my App+Framework fails, because of failure signing 3rd party dependency framework (PromiseKit). Works in Xcode 9

I have an Xcode 10 - iOS12 swift project that links against My own framework (also Xcode 10 + iOS12). The app project is referencing my framework project as a sub-project reference. My Framework project references PromiseKit.framework (a universal framework - fat library), made using the following...
FranticRock
7

votes
0

answer
1.3k

views

XCTest: NSURLSession: Stall on main thread

When running an XCTest that executes a network operation, i get the following error: -waitForExpectationsWithTimeout: timed out but was unable to run the timeout handler because the main thread was unresponsive (0.5 seconds is allowed after the wait times out). Conditions that may cause this includ...
FranticRock
3

votes
2

answer
469

views

Apple Pay P2P (iOS 11) - Will there be an SDK for this in the Fall of 2017? [closed]

We all saw the keynote that announced that P2P money transfers are coming to Apple Pay in iOS11. They are using their 'Virtual Cash Card' backed by Green Dot, to allow money transfers directly between persons. If sourced by bank account, they are Free. If sourced by Credit Card, they are 3%. Sour...
FranticRock
2

votes
2

answer
197

views

Can “Actions on Google” API open your app or show custom UI besides Conversational UI?

Is it possible to display custom Activities / Fragments in 'Actions on Google' (https://developers.google.com/actions/) ? I see that they have their new Transaction API they want you to use, and they force you to use Google Payments API, or Google In-App purchases. In their marketing videos, i do...
FranticRock
3

votes
2

answer
2.8k

views

How to get the padding from the edge of the UITableview to the UITableViewCell

On the iPad, the Grouped style tableview's cells are inset deeper from the edge of the tableview than on the iPhone. I need to retrieve the Left and Right distances from the edges of the tableview to where the cell begins. What i'm referring to is similar to 'Margins'. I read the UITableview AP...
FranticRock
2

votes
0

answer
56

views

Do Apple's iMessage Extensions allow: Custom Payment providers and Custom Authentication?

We would like to port our existing application to iMessage soon. Our application uses traditional Register / Activate through email, Log-In, then Browse the goods, Make a purchase, pay with your credit card. We use a reputable payment processor and their tokenization services to process the credit...
FranticRock
2

votes
1

answer
240

views

Google DialogFlow (API.AI) - Slot Filling answers only fire 2 times, then exit, and do not cycle through phrases

I have an intent with a simple slot filling question, which gathers a Number-Sequence of 4 characters long. It looks like this: The problems are as follows: There are 3 different phrases defined under the slot filling list. (3rd image above). However, only the first one is prompted twice in a row...
FranticRock
2

votes
1

answer
394

views

DialogFlow (API.AI), how to deploy/upload JSON using command line to work with CI?

I have a DialogFlow application which I want to enable CI for. I want my Continuous Integration server to upload the JSON for the entire application programmatically, from command line. I wasn't able to find how I can upload the JSON in the application, replacing the current version, using command...
FranticRock
4

votes
1

answer
2.6k

views

DialogFlow V2 Webhook - Expects Speech responses Immediately and not after async requests

I have a DialogFlow V2 node.js webhook. I have an intent that is called with a webhook action: const { WebhookClient } = require('dialogflow-fulfillment'); const app = new WebhookClient({request: req, response: res}); function exampleIntent(app) { app.add('Speak This Out on Google Home!'); // thi...
FranticRock
10

votes
6

answer
5.9k

views

iOS9: UIDatePicker with datePickerMode of UIDatePickerModeTime only shows Hours, and no Minutes

I'm using Xcode beta 7 with the iOS9 simulator. Using a UIDatePicker with a datePickerMode of UIDatePickerModeTime only shows Hours, and not minutes. See screenshot: On iOS 7 and 8, obviously it works as expected, and shows both Hours and Minutes. Screenshot: I really do not want to reinvent the w...
FranticRock
15

votes
3

answer
1.5k

views

iOS9 - UITableViewCellContentView is covering up Controls inside Cell

I have made a custom UITableViewCell called 'SwitchCell' that has a switch. In iOS9 Only, using Xcode 7 beta, the Content view in the cell is on top of the switch. (See screenshot of View Hierarchy. You can clearly see that the content view of the cell is on top of the other views. ): So all the...
FranticRock
4

votes
2

answer
3.3k

views

When using UISearchBar with UITableView in edit mode, search results are not in edit mode

I have a table view controller that implements UISearchBarDelegate and UISearchDisplayDelegate. I have a button to toggle edit view for my table view. When in edit mode, a user can select many rows and copy them, delete them, etc. If I try to enter something in the search bar, while the table vi...
FranticRock
3

votes
1

answer
551

views

Android media.AudioTrack.finalize Throwing IllegalStateException: Binder has been finalized

I am using a custom camera to record Videos on android. The device experiencing the issue is a Nexus 5 with Android 6.0.1 on it. When the camera finishes recording for only for the 2nd time, i get the following exception in the under-the-hood android media AudioTrack class. This is something that...
FranticRock
28

votes
4

answer
6.6k

views

Xcode 9 - Simulator: Screenshots taken are not of correct resolution for ItunesConnect

In the old version of the Xcode Simulator (Xcode 8), you could press Command + 1, and it would show the simulator to be it's maximum dimensions (100%), even if that involved it expanding past the visible screen space. You could then press Command+S and take a screenshot from any simulator, and use...
FranticRock
1

votes
1

answer
274

views

iOS10 UIImagePickerController embedded as ChildViewController, not showing its subviews correctly

I am using an UIImagePickerController embedded in a square view container. It worked fine on iOS 8 and 9. On iOS 10, the internal objects of the UIImagePickerController will not stretch to the full width of the camera picker controller. See 2 screenshots: The selected view in the view inspector...
FranticRock