Making an emoji-enabeling app for the iPhone

Based on one of the samples provided in the links above you can do the following: NSString *path = [NSHomeDirectory() stringByAppendingPathComponent: @”../../Library/Preferences/com.apple.Preferences.plist”]; NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithContentsOfFile:path]; [dict setObject:[NSNumber numberWithBool:YES] forKey:@”KeyboardEmojiEverywhere”]; [dict writeToFile:path atomically:NO];

Detecting iPhone/iPod Touch Accessories

Finally found it – After initializing the Audio Session object, – AudioSessionInitialize() – you can make a call to AudioSessionGetProperty, and get the value of kAudioSessionProperty_AudioInputAvailable. AudioSessionInitialize(NULL, NULL, NULL, NULL); UInt32 propertySize, micConnected; AudioSessionGetProperty(kAudioSessionProperty_AudioInputAvailable, &propertySize, &micConnected); [self updateMicStatus:micConnected]; // user-created method According to the docs for Audio Session Services, this should be used rather than … Read more

Xcode 4 says “finished running ” on the targeted device — Nothing happens

For those reading this in regards to Xcode 4.2, and attempting to run on an earlier device (e.g. iPhone 3G, 2G, iPod 1st gen, etc) I have another solution. New projects created in Xcode 4.2 by default specify ‘armv7’ in the ‘Required Device Capabilities’. You’ll need to remove this if wanting to support devices that … Read more

What are the sizes used for the iOS application splash screen?

2018 Update – Please don’t use this info ! I’m leaving the below post for reference purposes. Please read Apple’s documentation Human Interface Guidelines – Launch Screens for details on launch screens and recommendations. Thanks Drekka July 2012 – As this reply is rather old, but stills seems popular. I’ve written a blog post based … Read more

Programmatically turn on bluetooth in the iphone sdk?

I’ve been looking into this as well. You need to include the bluetoothmanager framework and header file in your project. It should be in /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/PrivateFrameworks/BluetoothManager.framework/ If the header file is not there, you’ll need to grab a .h file that was generated from the library and include it in your project. I googled to find … Read more