webkit view is getting dismissed after copy link action in swift 3 - ios

I am using webkit to load webpage on separate ViewController which I present to my existing ViewController. After some action I am geting a link. When I long press the link I get following options
When I click on copy, my presented ViewController is getting dismissed. This happens on device with iOS 11.2.2. But this is not happening when I am using device with iOS 10.3.2. I am using Xcode 8.3.2. To test on device 11.2.2 I have used TestFlight build.
Do anyone know why is this happening?

Related

iOS: Blank titles of buttons, labels

I am using the latest software. Xcode 12 and iOS 14
After installing the app from Xcode whether it was a simulator or a real device everything just fine. But, when re-launching the app after stopping the application from running through Xcode everything just blank.
I believe the problem is not related to the appearance mode because I already tried that.
The first image shows the notification page when I run the app through Xcode.
The second image shows the notification page when I run the app normally (Pressing the app without Xcode). It's not only the notification controller, all the app is facing the issue.
Just created a new project and copied my code into it. The project worked as expected

AdMob banner disappears after i reopen the app

I have a view controller (iPad only) with a banner view implemented using storyboard (I followed the official tutorial).
The ads load fine, the only problem is when I close the app (multitasking): when I reopen it the ad view disappears and doesn't show any ads.
This is happening even with test ads.
My project uses Swift, Xcode 7.2 and AdMob SDK 7.2.0
I figured it out.
This happens only if your app support Split View.
The easy fix is to disable Split View by enabling "Requires full screen"

AMSlideMenu back button not showing on iOS 9

I've inherited an iOS application which is built around the
AMSlideMenu CocoaPod. The view controller navigation works fine on
iOS 8.4 showing a back button with the title of the previous view
controller in the pushed view controller but on iOS 9.0 the back
button is not showing any more. I've opened and issue on Github for
it but I've got no reaction so far from the developer. Is it a known
problem? What has changed in iOS 9 that this CocoaPod stopped working
properly? Are there any workarounds or does somebody has any idea how
to debug and fix it?

iOS UIViewcontroller remains visible

I have an app that segues between different viewcontrollers. Recently, I noticed the following issues:
In Xcode 6.4, running in the debugger on a device (not a simulator), clicking stop does not close the first UIViewcontroller, even when the app exits.
Launching a built copy of the app on a device generates multiple identical views on the device. This is only noticeable if you double click the home button to see which apps are running.
I didn't think either of these were possible. How can you check to block multiple launches of the app and make sure all views/view controllers close on exiting?

Facebook share webdialog fails to show on iOS8 simulator

FBWebDialogs presentFeedDialogModallyWithSession:params:handler
doesn't show anything on iOS8 simulator. I have XCode 6 and 5.1 both installed side by side and same code works on iOS7 simulator. Once or twice I got SSL Handshake failed on iOS8. It can't be my network because then it should affect iOS7 simulator too..
I was just showing the dialog in viewDidLoad method which caused it to show but somehow before the view controller. So if I dismiss the controller the dialog will be visible. Showing the dialog in IBAction of a button works fine.

Resources