Looking for sample code for using Core Graphics on a WatchOS 2?ThanksGreg
Search results for
DTiPhoneSimulatorErrorDomain Code 2
158,512 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
1. Audio randomly cutting out on this new Beta 3 Build. (reported)2. Cable Test hangs and does not complete on this new Beta 3 build (reported).Anyone else experiencing these two?
Hi, we are planing to publish an education app that comes in 2 languages, german and english. The plan was to publish 2 apps, each for each language and people can chose whichone to get. We did not want to include both languages in 1 package as the app is very heavy on videos and including both languages would be too big. If possible, we would like the keep the same App name but maybe adjust the icon to distinguish between german and english, but I would like to know what would be the recommended way to go about this? Again, having both languages inside the app is not really possible, alteast not without a big rework. Thanks!
Hi I have an app in the store that distributed to 2 region(IL and AU) I want to push another app only to one region (IL) But, I want the old version stay in AU region How can I do it?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
iOS
Internationalization
App Store
App Store Connect
What do you mean by pages (I have two pages) ? I have two View Controllers in storyboard and two files for the code: ViewController.swift and Preferences.swift. They are connected in the Identity inspector. Please show code that will be easier to explain. In a simplified version, there is no code yet. I just put a button on the View Controller - Preferences of the Storyboard
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Since updating to 2-factor authentication, I am no longer able to restore my apple watch. When I logged into appleid.apple.com I noticed that my iphone 6s and Apple Watch states that they can't be used to received apple authentication codes. However, my 2015 MPB can. I'm stuck at the 'sign in to iCloud' screen.
Yesterday, WWDC announced the exciting news of MAC on arm. In order to complete the transition from x86 architecture to arm architecture, apple developed Universal 2 and Rosetta 2. Universal 2 is a binary code that can run on both x86 and arm architectures. Rosetta 2 can translate the original application based on x86 architecture into application based on ARM architecture during installation, or even translate the running code, and publicize that no matter how complex the professional application and its plug-in, it can handle it. At present, the software installed with brew is based on x86 architecture. If I use the command “brew cask install” on a DTK (developer transition kit, based on ARM Architecture) to install the software, can the software run normally on DTK? Will Rosetta 2 automatically translate this software? Or wait for the software author to recompile based on ARM architecture?
This code has 4 buttons; 2 buttons play different sounds and 2 buttons stop the sound. Only one button can play its sound at a time. Once another button is pressed the sound from the button that was pressed is stopped for the new button to play its song. How make my code play 2 buttons at the same time? Code is below thanks?mport UIKitimport AVFoundationclass ViewController: UIViewController {var audioPlayer = AVAudioPlayer()override func viewDidLoad() { super.viewDidLoad() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() }@IBAction func hatingschool(sender: AnyObject) { let alertSound = NSURL(fileURLWithPath: NSBundle.mainBundle().pathForResource(s, ofType: mp3)!) do { / try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback) } catch _ { } do { try AVAudioSession.sharedInstance().setActive(true) } catch _ { } / do { audioPlayer = try AVAudioPlayer(contentsOfURL: alertSound) audioPlayer.numberOfLoops = -1
Does watchOS 2 support SprireKit? If not, what are the best ways to do games on Apple Watch? Any sample code links will also help.Thank you!
Hello all, I have two versions of the same app (SwiftUI) , one of which is free (ad-supported) and the other is not. My two current XCode projects has identical code, but the free one has AdMob code inside. The code in my current two projects in XCode is same, however the free one includes AdMob. I don't like this method because I have to copy and paste changes I make to one into the other. Is it possible to generate a version for the Apple Store with only one project and omit some code? Or I'll have to proceed as I am currently, using the same code for two projects. Thanks a lot!
My problem is that I have 2 LightNodes and both of them cast a shadow. But the Light effect doesn't work if one is in the Shadow of the other. How can I fix that issue?
I wanna join two projects together as one project. Please help me on how to link it together and all. Developing with Swift Code.
I can't see anything wrong with your code. It seems you are using Swift 1.x instead of 2. Have you tried the code with Xcode 7 and Swift 2?
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Hi, after i installed swift 2 a waring appeared : Variable 'self' was written to, but never readin my code : [weak self] url in
So it appears it worked now.When it was first released, I managed to download a configuration file that was dated June 23 and not June 7 like the ones after they pulled it.I just ran everything and my watch is now updating to Beta 2.