Tag: xcode

Align text fields using dynamic constraints

I’ve been learning how to make iOS apps, and have come across a minor annoyance. I can’t find an easy way to align my text inputs. Looking at the below screenshot, you will see that I’ve managed to align my text fields, which is what I want. However, I did this manually by changing the […]

committing project to source control in Xcode

In Xcode 4, order to commit the entire project(all source files) to the source control repo, does one have to select all the files in the project navigator(Cmd-A) or is is it sufficient if I select just the Project file at the top and then File->SourceControl->Commit?

xcode update from 4.5.1 to 4.6

Hi I am new to Xcode and wondering how do I perform an update from v4.5.1 to v4.6. Is it necessary to uninstall the current xcode on my Mac in order to upgrade my xcode?

My player stops after playing first song

I am using AVPlayer when i select multiple songs from my ipod library ,those selected songs are displayed in a UITableview called playlistTableView as soon as the first song plays out it doesnt continue with second song .. I want the player to continue playing songs till there are no songs left in playlistTableView .

How do I add a custom view to iPhone app's UI?

I’m diving into iPad development and I’m still learning how everything works together. I understand how to add standard view (i.e. buttons, tableviews, datepicker, etc.) to my UI using both Xcode and Interface Builder, but now I’m trying to add a custom calendar control (TapkuLibrary) to the left window in my UISplitView application which doesn’t […]

Swift 3: Image does not show when setting isHidden=false

I followed a tutorial about how to create an iOS app where a title image and a background image are shown once a button is hit (there are checked as “hidden” in the attribute inspector). I am using Swift 3 and Xcode 8. That’s what the code looks like: import UIKit class ViewController: UIViewController { […]

Record Internal Sound iPhone SDK

I am making a app that requires internal sound to be recorded, any solutions?

iphone app don't want to build my ipa

I want to test my app on a device, so I encode my device on the portal, I made a new a distribution provisioning profile on ad-hoc mode. I download it, and install it on my XCODE. I checked on the informations about project and targets (all sounds correct but I’m not a specialist of […]

Error while using AVAudioSession in ios

I used these codes – (void)viewDidLoad { [[AVAudioSession sharedInstance] setDelegate: self]; [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryAmbient error: nil]; AudioSessionAddPropertyListener ( kAudioSessionProperty_AudioRouteChange, audioRouteChangeListenerCallback, self ); NSError *activationError = nil; [[AVAudioSession sharedInstance] setActive: YES error: &activationError]; } and void audioRouteChangeListenerCallback (void *inUserData, AudioSessionPropertyID inPropertyID, UInt32 inPropertyValueSize, const void *inPropertyValue ) { // ensure that this callback was invoked […]

textfield text content comparision wont work

I have this piece of code: if (email.text == emailComfirm.text) { UIAlertView *emailAllertView = [[UIAlertView alloc] initWithTitle:@”Succes” message:@”Yaaay, je kan nu gebuik gaan maken van Vogelspotter.” delegate:self cancelButtonTitle:@”Direct aanmelden” otherButtonTitles: nil]; [emailAllertView show]; // Doing some other code here [self dismissModalViewControllerAnimated:YES]; }else{ NSLog(@”email: %@”, email.text); NSLog(@”email: %@”, emailComfirm.text); UIAlertView *emailAllertView = [[UIAlertView alloc] initWithTitle:@”Foutmelding” message:@”De […]