Post

Replies

Boosts

Views

Activity

API for Inquiring Remote info in tvOS
Since Apple TV can pair with a universal remote, the siri remote and the new 2021 siri remote that has the dpad on it, we need a way to distinguish between each unique remotes. Are there APIs for getting the details of the remote being used in tvOS? Reason for this is we want to handle separate logics in using the old vs new siri remote.
0
0
566
Aug ’21
tvOS 14.3 UISearchController: How to locked in display.
In every OS iteration the look of the UISearchController is changing. Before it only change the keyboard portion but with 14.3 it changed that the keyboard portion is on left side while the search results are on the right, which is what we don't like since we have custom view and overlays on top of it. Any APIs to make it revert to the previous iteration, that is the keyboard are all within one horizontal line and search results on bottom, and stay that way forever? Here's the code for the integration. The UI look did mess up he app overall.     _searchController = [[UISearchController alloc] initWithSearchResultsController:_searchResults];     _searchController.searchResultsUpdater = self;     _searchController.view.backgroundColor = [UIColor clearColor];     _searchController.searchBar.keyboardAppearance = UIKeyboardAppearanceDark;     _searchController.searchBar.placeholder = @"TV Shows, Movies, Keywords";     _searchController.obscuresBackgroundDuringPresentation = false;     _searchController.hidesNavigationBarDuringPresentation = true;           _searchContainer = [[UISearchContainerViewController alloc] initWithSearchController:_searchController];     _navController = [[UINavigationController alloc] initWithRootViewController:_searchContainer];         [_navController willMoveToParentViewController:self];   [self addChildViewController:_navController];   [self.view addSubview:_navController.view]; PS: it'll be a lot helpful if I can post the image link
2
0
1.5k
Feb ’21
iOS/tvOS 14.3 Airplay - no sound for specific streams type
As with all the other posts about airplay on 14 version, I too experience no sounds coming from airplay. But for me its specific stream type, which is VOD DAI. No sound from that stream, though disconnecting and reconnect airplay do have sound, but got muted when changing to the same stream type. Regular Live and VOD do have sounds though. Anyone have the same issue? Are there new codes to implement to fix the issue? My code is based on the guideline made before Airplay 2 is introduced.
0
0
539
Jan ’21
Sirikit but without saying the app name
I'm making use of the INSearchForMediaIntent to have the app handle on Siri's 'Search <MediaName> on MyApp', and I had that done. The next step should be to exclude mentioning the MyApp while also have the app parse that intent, without relying on custom intent nor shortcuts. I already seen sample apps made by other people that does that like 'jog for 10 miles' or 'stop workout' on a INStartWorkoutIntent. So far I replicated that app's setup into mine, like updating the AppIntentVocabulary.plist to include examples as 'Search Simpsons', but it doesnt work.
0
0
517
Aug ’20