iphone-sdk-3.0

NSMutableArray initWithObjects Not Working

Ey guys, I am having some problems adding NSURLs to an array and looping through them. Here are the relevant portions of my code: RSS_ReaderAppDelegate.h: @interface RSS_ReaderAppDelegate : NSObject <UIApplicationDelegate> { UIWindow *window; UINavigationController *navigationController; NSDictionary *RSSFeeds; NSMuta...

Accessing voicemail in iPhone

Is there any way to access the voicemail from the SDK. As I know this cannot be done. At least in the new SDK have they given any control over it? ...

Can I run XCode for iOS development in plain leopard?

I am aware that I cannot actually distribute an app that is not compile with the latest version, but I cannot upgrade my Mac now for some driver compatibility issue. So, for the time being, is there any way to do actaully code and test an iphone app in plain old leopard? I cannot find what I need to download in the dev center. Thank yo...

Rounded UIBarButtonItems

Hi, I need to make UIBarButtonItem rounded. In xib even though the style attibute specified as bordered it displays a rectangular shape. Is there any work around to achieve this? Regards, Dilshan ...

UIActionSheet Customization

Can you control the size of the text and it's alignment on the action sheet? Also, Can you decide the order in which the destructivebutton and otherbuttons will appear on the action sheet? The screenshot like screen is what I am trying to create. Thanks in advance ...

iPad: Image Animation , Image Flickering problem

hi all, I am making an iPad application. In that for moving image from left to right and vice-a-versa. I am using following code for making the animation animation = [CATransition animation]; [animation setDelegate:self]; [animation setDuration:AnimationDuration]; [animation setType:kCATransitionPush]; [animation setSubtype:kCATrans...

Load Gallery images in Viewcontroller of iphone

Hi, am new to iPhone and i have been given a task to show all the images from the gallery of the iPhone to the current view so that the user can select an image and view it and here's the second part of my problem i am having a share button and its functionality is that the selected image by the user on the touch of the share button must...

UIScrollView: recreating content view in scrollViewDidEndZooming

Hi All, I would like to ask, is it correct to recreate content view in scrollViewDidEndZooming method? Is there any potential problems with this? I use the following code: - (void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)view atScale:(float)scale { [self.contentView removeFromSuperview]; self.content...

in iphone how to write code for radio button

while i am doing program i got dbt how to write the code for radio button ...

How to resize UI Table View of a UI Table View Controller programmatically?

Hi, I subclassed UITableViewController and called it FeaturedGamesViewController. Ok, I also have a navigation controller to which I added this FeaturedGamesViewController as the root. All pretty standard stuff that you do in the App Delegate. Also note that there is no NIB file created for FeaturedGamesViewController. Just subclassing...

Chanign color of UITableViewCellAccessoryCheckmark and UITextField

Hi, I want to change the color of UITableViewCellAccessoryCheckmark and UITextField background color where we type. I found this is not straight forward. Please help me. Thank you. ...

Orientation in iPhone

Hi, I have been working for iphone for about like 1 month and i want to know that is their any method by which we can set the orientation of the components, like when the device is turned in landscape left or right or in portrait mode then the components must set their view accordingly. Please help me out regarding this Thank You ...

Maximun file size for an application when submitting to the app store

Hi, Is there any limitation for a file size for an application when submitting to the app store. Regards, Dilshan ...

Network Reachability error: in iphone os 4

my project was buied in os 3.0 but now i want to do some changes with os 4. so when i run my project in xcode 3.2.4. i get those errors...... ld: warning: in /Users/abc/SystemConfiguration.framework/SystemConfiguration, missing required architecture i386 in file ld: warning: in /Users/abc/libz.1.2.3.dylib, missing required architec...

iPhone static libraries

Hi, I have some problems with creating static libraries. Let say I have the static library A which I created and I included that to static library B with the relevant header files. I need to create a static library C which will be my final library and it it should include static library B which implicitly include the static library A....

Chnage UIBarButtonItem colori

Hi, I have created a custom bar button item in code. UIButton* backButton = [UIButton buttonWithType:102]; // left-pointing shape! [backButton addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside]; [backButton setTitle:@"Custom Item" forState:UIControlStateNormal]; // create button item -- possibl...

Problems running SDK 3 iPhone App on IOS4

I have made an iPhone app building with SDK 3, expecting it to run on all platfroms of IOS 3 and up. My app uses location services, and in iPhone 4 IOS one can shut down location services for a specific app. Doing so causes my app to hang indefinitely. I handle the case where location services are disabled in general, but not per app...

Where's +alloc defined?

Hi all, This may be a silly question. I need to know where is the +alloc method is defined for any Objective-C class? If it is a class method in NSObject how it is inherited? Because class methods cant be inherited. Thanks. ...

UIActionSheet unrecognized selector error

I tried compiling and running this simple code but it's throwing error - (void)doSomething { UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Are you sure?" delegate:self cancelButtonTitle:@"No Way" destructiveButtonTitle:@"Yes, I'm Sure!" otherButtonTitles:nil]; [ac...

How to get warnings when using 4.x only APIs when the base SDK is 3.x

Hi Guys, While i'm careful, there have been a few times when i have used iOS 4.x apis by mistake that have caused odd behaviour on the older devices. Is there anyway to get the compiler to flag their usage so i'm alerted when i have done so. Many thanks as always ...