Whatsapp update and sharing video - ios

I am making an app that shares a video through whatsapp.
Implementation is super easy, and it worked well until the beginning of August. When you trigger WhatsApp with the DocumentInteractionController, the controller will propose 2 options for WhatsApp:(can't post a screenshot due to reputation...)
"WhatsApp"
"Open in WhatsApp"
"WhatsApp" will push a vc within your app, when "Open in WhatsApp" will put your app in background as usual and open WhatsApp. The problem is that the first option "WhatsApp" doesn't give any information in the delegate method of the DocumentInteractionController, I can't manage to detect if the user pressed the button or not, as well as when the sharing is done. Anyone encountered the issue?

Related

TwitterKit doesn't have interface to control redirection to native twitter app

Currently I use TWTRTweetView from TwitterKit to display the tweets. When I tap on the tweet, the iOS system's popup shows up "MyAppName" wants to open "Twitter", and gives 2 buttons, Cancel and Open respectively.
Then the problem is no matter which button I press on, it will redirect to the twitter native app.
Ok, I have downloaded their source code and looking into it. And I drew a flow diagram to illustrate the issue.
As the diagram shows, the twitter SDK will try to call the deep link on tap first, if user taps "cancel" on the apple's default pop up, then the SDK will try the second attempt by calling universal link. This will cause the issue as I described in the question, which is even user taps on "cancel", my app still redirects to twitter app.

How to dismiss iOS camera Access popup?

My app requests access to the iPhone/iPad camera. This results in the native iOS popup to appear, asking for user confirmation.
Is there a way in which I can dismiss this iOS popup (so before the user has made the OK / Don't Allow choice)?
For recent versions of iOS this popup automatically appears when you request write or read access for iOS Photo Library or use some of the AVFoundation framework components.
You can not dismiss it programmatically but you sure can create your own alert before showing the system one so you can have more control over what the user does.
It is the case in many 3rd party apps because when the user declines the access, it's not easy to ask them to go to settings and re-enable it from there. One of the easiest examples to implement would be something like this.

Open the manage tab on the iMessage App Store from a button in an iOS App?

The title pretty much says it all. I need to explain to the user how to add my iMessage App to their phone, is there a way to simply link them straight to it?

Not able to come back to my app from Instagram after sharing photo using iPhone hooks

I want to share/post photo on Instagram from my app and I could do it using iPhone hooks which opens Instagram app.
But I couldn't find way to come back to my app after sharing photo.
Let me know if it is supported by Instagram. If not then please suggest alternative way for same.
This isn't supported with the instagram app, but in IOS 9 they introduced a button on the left of the status bar which says "back to.." to go back to whatever app opened this one. A rather nice unpublicised addition if you ask me

IOS 5 show custom Items on Lockscreen

APP Advice presented two apps, "Slide To Buy" and "Slide To Do", that show interactive items on lockscreen.
What API is used to display that items?
There's no direct control over the lock screen, so I suspect that they're just push (or perhaps local) notifications.
Notifications allow you to open the app they came from, so the "swipe to check off" functionality is basically just launching the app. Quite clever but it's not using any fancy or unknown APIs.

Resources