How to disable print option of QLPreviewController in the Xamarin iOS? - ios

In my Xamarin.Froms application, on the iOS side, I open the files as preview with the help of QLPreviewController. When I open the preview and press the share button, the print option appears. (As in the picture below.)
How can I turn this off?
When I searched, it says that the RightBarButtonItem value can be set enabled false or null. But this directly closes the share button. I want the share button to remain open but the print option to be turned off. How do I do this?
Thanks.

Related

IOS - Firebase Dynamic Link Opens the app but shows text buttons on STATUS BAR

Problem 1: So I am using the Firebase dynamiclink and works fine. My problem is I want to hide the textButton on my status bar (DONOT WANT TO HIDE THE WHOLE STATUS BAR, the buttons) whenever the app opens on dynamic links. See photo.
Problem 2: I accidentally tapped the goo.gl above and now the app is not opening on the dynamic link. It goes to safari instead. how to bring it back to normal?
Problem 1: I do not believe this is possible. It would be great if so, but as far as I know it is enforced by iOS.
Problem 2: paste the URL into the Notes app, long-press on it, and select Open in [App]

Hide/Disable Fullscreen button in MPMoviePlayer

I have tried many solutions posted on SO but none of them worked for me.
I am using XCDYoutubeplayer to display a video in my app and I want to hide the Full screen button or disable done button from the control. I am running app on iOS 8.x and 9.x. Does someone knows any solution or only creating custom overlay controls is the solution ? I need only Play/Pause and scrubber to display to the user. I want to hide this button shown in screenshot

Custom button to iOS print panel

I was wondering if it's possible to add a custom button to the print panel (UIPrintInteractionController) in an iOS app and if so how to go about doing that. Thanks.

Icons for iOS Action Extensions Disappearing After Share Button Menu Disappears

I've been working on a couple of iOS action extensions for a while, but I have noticed an odd behavior I was wondering if anyone else saw. In short, after you install and turn the extension on from the share button menu and leave the menu, it disappears from the menu.
More specifically, when you first install the extension, you expect you have to press the share button, scroll the bottom bar menu (for the action extensions) all the way to the right, press the "More" button, toggle your extension on and then press done. At that point the icon for the extension will appear and you can use it. However, the next time you want to use the action extension, the icon will not appear and you have to repeat the process, even though when you look in the "More" menu, the toggle switches for your app are already flipped on.
I wish I could add images to further elaborate here, but I can't because of StackOverflow's rules.
I have not been able to find any information on this any where, so I was hoping someone here has noticed this behavior or not. Any help on resolving this would be greatly appreciated.
This has been a bug in iOS 8.3, and has been acknowledged by Apple.
Fixed in iOS 9.
Issue on OpenRadar
How to solve:
The new share extension is NOT visible in the default list, and is CHECKED in the “More…” list. Changing any of the switches and tapping Done will show the new share extension in the default list.

iOS guided access keyboard bug

I'm development an app through titanium. When I was running it on actual iPad, I got a bug that keyboard cannot close if guided access was enabled.
Scenario:
Guided Access is on in settings
Focus on a TextField, keyboard shows up
Triple click on home button, start Guided Access. (With Password). Note, the keyboard is still up for textfield.
Click "Resume" button, return back to app.
Now, if you try to dismiss keyboard, it just stuck there. And keyboard no response until next TextField or TextArea.
And this always happens. I'm not sure if this is a bug from Titanium or iOS itself. I'm trying to replicate by native objective c code.
Does anyone have clue how to fix this?
Thanks
UPDATES:
I've tried to replicate by native SDK. Nothing happened. So I guess this is a bug only for Titanium.
Finally address the problem, when you open the number pad for guided access then go back to app, it will cause the textfield lose focus. So, if user tap/click the textField, then there will be no problem.
And there is another scenario: There are two window, A and B. B has a textField, and I've set it focus when it opened. In Window A, I triple click home button and open the number pad to enter password. Go back to app, open window B. Now since I've programmatically focus the textfield, so nobody click the textField. Now if you try to dismiss the keyboard without touch/click the textfield, you will see the same bug happened before. While if you click the textField, manually re-focus it, there will be no problem.

Resources