MPMediaPickerController missing search functionality on the iPad - ios

When setting up an MPMediaPickerController with the same code the search functionality works on the iPhone but not on the iPad. There's a search box in the picker on iPhone, but not on iPad.
Is there a way to enable this functionality on the iPad?

I filed a bug report about this (ID: 12157125) back in August nothing has come from it yet, so no there is no way to enable this functionality. However, you could remake the picker from the ground up using a combination of a UITableView and some MPMediaQueries, leaving you free to add your own search functionality.

Related

How to disable the Screen-shot in iOS using React-Native

I am working on POC in which I have to disable screenshot in ios using React-Native
Unlike Android, in iOS you cannot prevent the user from taking screenshots.
But if you have really have to hide as many as possible information from screenshots, you can try requiring the user to be touching the screen to view whatever information you're displaying (Like Snapchat). This is because the system screenshot event interrupts touches.
Thanks for this comment about the idea.

Swift: implementing a new item dialogue like 'add alarm' in clock app

I want to implement an add new item dialogue in my app similar to add alarm dialogue in the clock app (screenshot). Prior to this moment I always used the same storyboard scene design for iphone and ipad with autolayout to make it look good on both devices. But I'm wondering how can I implement a view similar to Add Alarm dialogue - it looks very compact on both iphone and ipad especially because on ipad it's a separate small view that is not stretched across the screen. Can somebody please point me how to implement it? I don't really need the code, just some directions that can help me.
Found it in the apple documentation:
https://developer.apple.com/library/content/featuredarticles/ViewControllerPGforiPhoneOS/PresentingaViewController.html

Is there a way to make custom browser default in iOS instead of Safari?

Is there a way to programmatically make your app's custom browser the default one instead of Safari in iOS? I remember having seen one project that seemed to do something similar but unable to recollect which one it was? If it was possible, will Apple approve such apps or reject them?
Thanks,
Paddy
Thanks for ask question
Please do refer this link.
Might be it will help you.
You can use as follow.
1) Install library manually or using pods.
2) Do use as follow.
UINavigationController *webBrowserNavigationController = [KINWebBrowserViewController navigationControllerWithWebBrowser];
[self presentViewController:webBrowserNavigationController animated:YES completion:nil];
KINWebBrowserViewController *webBrowser = [webBrowserNavigationController rootWebBrowser];
[webBrowser loadURLString:#"http://www.example.com"];
Advantage of this library:
Features
iOS 7 & 8 support for iPhone and iPad devices
Safari-like interface
Animated progress bar
Customizable UI including tint color
Portrait and landscape orientation support
Use with existing UINavigationController or present modally
Delegate protocol for status callbacks
Action button to allow users to copy URL, share, or open in Safari & Google Chrome
UPDATE:
Sorry for the huge misunderstanding between us.
I am sorry to say that is not Possible to make custom browser default in iOS instead of Safari?

iPhone's Tone Color Change from an App

Recently, I have installed Twilight on my Android phone. Apparently is adds a color tone effect on the screen. Here are two screen shots taken from PlayStore.
Now my question is that is there a way to develop similar system display tone color set up application in iOS?
It is not possible as Apple restrict the developers to edit home screen. There are very limited features that we can access like Calendar, Gallery, etc. The above screenshot your are showing is related to Widget but there are no Widget concept in iOS.
Yes, it is certainly possible and I use an app that does this.
Have a look at https://github.com/anthonya1999/GoodNight, It's even open sourced.
However an app like this will most likely be denied from the App Store, but never the less it is possible.
Night Shift is supposed to bring something like this in iOS 9.3, though not to that extent.
I don't know of any public API that would allow an application to change that kind of parameter system-wise, though. Maybe in the Accessibility framework, but that would restrict it to app-wise, not system-wise.

Show a view on main screen while the app is in background in ios

Thanks in advance.
Is it possible to show a capture screen like assistive touch view in ios when we click on application icon.Means i want to show the iPad screen and top on the with transparent background a view need to display.
I want to create an app like this after clicking the app icon i want a screen like this on my main screen and i can able to customize it and capture the selected area. is it possible to do that. and is there any api for that.
i don't think you are allowed to capture the home screen in public api. this question had similar request.
How can I take a screenshot of the iPhone home screen programmatically
UIGetScreenImage() mentioned in the answer is very useful, if you only targeting Jailbroken phones.
However, i found an open source library called "Record My screen", which claim can
Record the display even on non-jailbroken iPhones.
I personally didn't test that, since i believe Apple would somehow find that and pull the app off (that happened to several apps before). If you really interested in it, maybe you can learn something from that library.
Hope that helps you.

Resources