Profile Photo
Hi,   I'm trying to load a local html file where I just saved some changes to in a WKWebView. I used to do it with loadHTMLString(), but unfortunatly there seems to be no way to enable back/forward swipe gestures using loadHTMLString().   Writing to the file works just fine, but I can't seem to load the edited file. I keep getting the original.… (Show more)
in Swift
Profile Photo
Is there a way to load unsecured sites on WKWebview? (e.g. http://) I have no issues with SSL sites (https://) but I cannot get unsecured sites to load completely...they only load partially. It does not matter if I have sandboxing on/off...tried that. Of course just because a site is not secured does not mean it's sinister.   import Cocoa… (Show more)
in Swift
Profile Photo
The simulator doesn't replicate the layout as it does on actual device.   Observe the white space on the right side. Also, I had to calculate the width for all the devices available and set it manually. How do I calculate a zoomscale that fits the views properly in all the devices available right now or will be launched in future. Can… (Show more)
in iOS Simulator and Devices
Profile Photo
I have an array [3, 5, 6, 7, 11, 12] .   I want to count, in obj c, the maximum number of consecutive numbers. In the case above it would be 3 becase of 5-7. The array is already sorted by integer values.
in Getting Started
Profile Photo
Hello, I'm displaying a `MFMailComposeViewController` using the below code.   if MFMailComposeViewController.canSendMail() {… (Show more)
in iOS Simulator and Devices
Profile Photo
When trying to pair Xcode with my Apple TV it says "This device has been ignored in the devices panel." I cannot continue development properly until this issue has been solved, however I cannot find an un-ignore button. Please help me, thank you!
in iOS Simulator and Devices
Profile Photo
I would like to use the MediaPlayer in Swift 5 to have a user select a song for use in my app. This should be possible using MPMediaPicker using this official Apple documentation. However, it seems this documentation is incomplete. If the user does not have the Apple Music app installed, then upon presentation of MPMediaPickerController, they… (Show more)
in MusicKit
Profile Photo
Right now i'm trying to create a Share Extension for my application. Everything works fine except of breakpoints in ShareViewController (subclass of SLComposeServiceViewController).   Each and every breakpoint is not working. When i'm testing my extension in Photos or Safari app the actual share pop-up appears, but i can't make an app stop on… (Show more)
in Cocoa Touch
Profile Photo
Is it possible to read the option in the iOS settings whether the haptic feedback is activated or deactivated?
in Cocoa Touch
Profile Photo
Hello. Is there a way not to use email relay service in "Sign in with apple" ? I don't want user to use private email. thanks.
in Sign In with Apple
Load more items