Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,522 results found

Post

Replies

Boosts

Views

Activity

Merge Two iPhone Apps Into One Yet Two Teams
We have two iPhone/iPad apps. We most likely will merge them into one app. Let's say two teams from different companies that were working on the separate apps will work on the single merged app. From an inner-app architecture point of view and from the above multi-team context, what's a good way to merge the two apps together? (KMT, thank you for your feedback. I totally agree that the question was not clear.)
1
0
699
Aug ’16
how to have 2 functions with one button
I was wondering how i could have 2 functions work from 1 button. One would happen on the first time you click and second will happen the second time you click. in java something like this: if button pressed{ // Code if button pressed{ // Code } } or at least that's how I was taught in java. so I'm wondering how I could do that in swift. Thanks!
1
0
840
Feb ’22
How do I compare two MKPlacemarks?
I compare two MKPlacemarks that are each created from a CLPlacemark acquired from CLGeocoder.reverseGeocodeLocation(_:) of the same address, but when I compare those two MKPlacemarks with == they don't equal. Is there a way of determining whether those two placemarks refer to the same location? Are there unique identifers on MKPlacemarks that I could use to determine if those two placemarks are of the same location, such as the name or the title properities of MKPlacemark?
4
0
1.5k
Mar ’18
Communication between two process in macOS.
We have 2 process in our macOS application Daemon process written in golang Swift application Currently, the communication between both the process are done with Unix domain socket. However, we are seeing significant amount of delay when large amount of data communication. We are looking for some faster communication. Probably XPC is the answer. But not sure how to use XPC between two process which are written in different language. Any sample code would be great help.
1
0
1.2k
Jun ’23
Reply to Autorotation not working
I have identified a related issue. The shouldAutorotate function doesn't fire on iOS9 beta 5 when running on the iPad Air 2 128 GB.Thus far I have tested the following code on iOS9 Beta 5 on an iPhone 4S, iPhone 6, iPad 2, iPad3, and an iPad Air 2. The code executes on rotation on every device except the ipad air 2. On the the iPad Air 2 the code is completely ignored.import UIKit class ViewController: UIViewController { override func shouldAutorotate() -> Bool { print(ShouldAutorotate) return false } }
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’15
Started seeing this issue happen frequently with Call Directory extension from iOS 15 onwards: Domain=com.apple.CallKit.error.calldirectorymanager Code=2 "(null)".
Hi, We have an app that manages incoming and outgoing calls for users. As part of that, the app needs to frequently keep updating the list of blocked numbers in the Call Directory Extension. The functionality was working quite well till iOS 14, however, since we started testing on iOS 15, we're seeing a lot of these errors when we try to reload the Call Directory extension: Domain=com.apple.CallKit.error.calldirectorymanager Code=2 (null) The documentation says this error code means: The call directory manager was interrupted while loading the app extension. We're not sure why it was interrupted and was it interrupted by the OS or by something that we did from our app. Please let us know when this error code might happen and if there's anything we can do from the app side to fix it.
1
0
914
Nov ’21
Two-Factor Authentication Problem
Ever since setting up two-factor authenication, every time I log in to my account, I have to enter a code. Every time it tells me, You will not be asked for a verification code the next time you sign in. I click Trust, and yet it keeps asking me. Will it ever actually trust my browser and stop asking me, or is this just something I'm going to have to do every time?
6
0
2.4k
Mar ’19
Watch OS 2: How to transfer data from Watch OS 2 to Mobile App when the two devices are disconnected.
My app requires me to send some data from the Watch OS to the Mobile OS while the two devices are in disconnected state. Is this possible with the transferuserinfo method of the WCSession class? Will the data be delivered?Documentation states that the transferUserInfo method should be used only when the WCSession is active. When the two devices are disconnected, if i call the WCSession activateSession method, will the session be considered as active on the Watch Device?Thanks in advance.
1
0
452
Mar ’16
Swift 2 SKEmitter Problem?
All,Before Apple released Swift 2 and Xcode 7 I was using the following Swift code to display Particles. It worked like a charm. Then the updates to Swift 2 and the particles just will not render and display. Here is the code does anyone know how I can fix it?let sparkEmitter = SKEmitterNode(fileNamed: zombie_slice.sks) sparkEmitter!.name = sparkEmitter sparkEmitter!.zPosition = 1 sparkEmitter!.targetNode = self sparkEmitter!.particleLifetime = 1 sparkEmitter!.position.x = self.player.position.x sparkEmitter!.position.y = self.player.position.y self.addChild(sparkEmitter!) let actionDone = SKAction.runBlock({self.zombieDeathSequenceEnded(node as! SKSpriteNode, zombieNumber: zombieToUseForDeathSequence as Int, theEmitter: sparkEmitter!)}) node.runAction(SKAction.sequence([zombie_death_anim, actionDone]))
1
0
312
Sep ’15