iphone

How to change boilerplate "Sent from my iPhone" text in MFMailViewController message body?

I'm using the MFMailComposeViewController to send an email from within an iPhone v3.0 application. I programmatically create the message body text and display it before showing the picker. At the bottom of my message body text is the string "Sent from my iPhone." Is there anyway to modify this text or prevent it from appearing? A cursor...

Where do you add iphone frameworks from

I want to add the MessageUI Framework to my project. The first time I did it, I selected /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1sdk/System/Library/Frameworks/MessageUI.framework After I did that my project would no longer build - lots of syntax errors, and wouldn't build even after I told Xcode to delete th...

Does the Push Notification Service work on an iPod Touch?

Thanks and welcome for reply ...

Create an iPhone push notifcation web service in asp.net c#

Does anyone know the stepts how to create an iPhone push notifcation web service in asp.net (C#) that I can call using JSON protocol? I'd like to be able to an http request to have an alert sent to another iphone device id. Is this possible? Any sample code would be helpful. ...

Storing Custom Classes in Objective-C

I need to take existing classes for an iPhone application and store them in a preference/plist/some other data storage format. A good comparison of what I need to store is a gradebook, with the following class structure: GBGradebook + NSArray (GBAssignment) + NSArray (GBClasses) + NSArray (GBStudent) GBStudent + NSString *stude...

UISearchBar Bookmarks

Does anyone have a good sample of storing bookmarks for a UISearchBar? What's the most elegant way to store this? Any sample code would be appreciated. ...

Cocos2d iPhone Non-Rectangular Sprite Touch Detection

Have a project with a TRIANGLE shaped graphic in a sprite. I am arranging these sprites in a grid so that their rectangles are all overlapping. As sprites get touched their z-order is being changed (by me) to put them on the top of zOrder. I am using Cocos 0.8.1 and the touch dispatcher method. I have touches working but obviously the "...

iPhone - convert mp3 to wav?

Hi Is there a way I can convert an mp3 file into a wav/aiff in my iPhone app? I have an mp3 but I want to combine it with other files and the only way I know this can be done is when using PCM formats. Can anyone help me out here? Thanks. Some things I tried I tried using the AudioConverterFillComplexBuffer() method and its callback...

Is it possible to have a sound play before/during the splash screen?

My app takes a few seconds to load and I have a splash screen. Once "viewDidLoad" I have a little sound play. I feel that the sound would be in better use if it started playing when the splash screen popped up. Is it possible to have a sound start before/during the splash screen? Here is my code: (under viewDidLoad) NSString *sound...

How to send ussd request through programming on iPhone OS

How to send ussd request through programming on iPhone OS For example: *100# ...

Trouble Configuring a .plist for an iPhone App

I am new to iphone development and I could use a little help in setting up my .plist file. I seem to be confused as to how to actually set it up. I have an app that will have a Frequently Asked Question (FAQ) page or view. As of right now, I am putting the questions in a property List file (.plist) configured like this: http://img16.yfr...

iphone-dev: TabBarItem help

Hi, I have am setting up my application like so (in applicationDidFinishLaunching): mytable = [[[MyTableController alloc] initWithStyle:UITableViewStylePlain] retain]; UINavigationController *mynav = [[[UINavigationController alloc]initWithRootViewController:mytable] autorelease]; [mynav.view setFrame:CGRectMake(0,0,320,460)]; UIVi...

Custom Drawing of Alpha Images

Hello, I am trying to do custom drawing of an image(with alpha) and eventually going to apply different color tints to it. Right now I am just trying to draw it correctly. This might be simple problem but the result is the ALPHA on my image is black. Image is .png created from photoshop with correct alpha. - (void) drawRect:(CGRect)area...

How to decrease build times / speed up compile time in XCode?

What strategies can be used in general to decrease build times for any XCode project? I'm mostly interested in XCode specific strategies. I'm doing iPhone development using XCode, and my project is slowly getting bigger and bigger. I find the compile / link phases are starting to take more time than I'd like. Currently, I'm: Using S...

Possible to "UIScrollView.zoomToRect" and then do UIView animations ?

I have a UIScrollView. I'd like to do some animation with it, but I want to add a neat little animation that basically zooms the UIScrollView back to where it started and then I can do some UIView animation. Is that possible? I have tried to have a button trigger one method with the scrollView.zoomToRect, and this method calls another m...

Copy text to clipboard with iPhone SDK

Hi What is the best way to copy text to the iphone's clipboard in your application, their docs are sketchy and have way too many features than what i want... i just want to set a string as the users clipboard? Sample code would be so useful! ...

First time adhoc app load onto iPhone

Hey I've got an adhoc distribution of an app I'm attempting to put on the clients phone. On the initial load after sync to our test phones with iTunes I'm seeing a 30 second load time until the app shows the main screen. Every subsequent load, however, is lightning fast. I was just wondering if the first load from an adhoc distribution ...

Stacking order of UIActionSheet

While my app is displaying a UIActionSheet, I send startUpdatingLocation to the CLLocationManager. This results in a Location Warning, if the user has not yet agreed to letting my app use her location. Now, the problem is, that the UIAlertView that the Location Manager displays pops up behind my UIActionSheet, and thus the user can not ...

-viewDidLoad not called in subclassed UIViewController

Have patience with me, I'm still learning Cocoa Touch. Other -viewDidLoad not being called question was unrelated to my issue, I did search. I have FooViewController, a UIViewController subclass. FooViewController.xib has its File's Owner set to FooViewController. Additionally, I have Main, whose App Delegate is MyApplication and whose...

Why do I get "file is not of required architecture" when I try to build my app on an iphone?

My app seemingly runs fine in the simulator but the first time I hooked a phone up to my system and had it build for it I got a huge error log with things like: Build SCCUI of project SCCUI with configuration Debug CompileXIB HandleAlert.xib cd /Users/gdbriggs/Desktop/SCCUI setenv IBC_MINIMUM_COMPATIBILITY_VERSION 3.1 setenv PATH "/Dev...