iphone

Left-most and right-most buttons on UIToolbar are hard to click

Hi everybody, I spent a couple of days trying to resolve this problem, therefore I decided to share the solution with you so you can dedicate more time to your families: Suppose you have a UIToolbar which needs to accommodate a large number of buttons (say 5). When user tries to click on left-most or right-most button she often hits t...

Iphone app development - How do I reload(?) views?

Okay, I'm working on a iPhone game. You start off on a menu screen, then select "New Game" or "High Scores". Let's select "New Game." The first time you do this, you get an alert telling you how to play the game. I implemented this with the - (id)initWithNibName function. Here is the exact code: - (id)initWithNibName:(NSString *)ni...

How to rotate UIImageView in 3d circular way?

Hello, I m new to core animation i want to rotate an imageview left or right but i want it to be rotated in z axis so it can looks like a circular rotation.Here is an image for more explanation i want to rotate the image the inner imageview these are two imageview's. i have tried this code please someone apply this and correct the co...

connecting events to actions during runtime

i know how to create a control during runtime, my controller class has a IBAction method inside it. How do i connect the event associated with a control to the IBAction method. Just like ctrl+drag inside Interface builder except during runtime ...

Move an imageView along a circular path

Hi all! I'm developing a game in which I've imageviews for bow and arrow. I actually wanted to move this arrow along a circular path when set in the air. Specifically, this circular path should be the one which an object will travel when thrown in the air at a distance i.e. it'll move upwards first and then downwards. I've already trie...

How to disable the click option or selecting the row in a table in iphone?

I am new to iphone development.I am displaying a xml parsed contents in a grouped tableView.I want disable the click event on it(i should not be able to click it at all) .Since it is grouped table , it contains two tables and i want to disable the first table only and not the second table.How can i achieve it?Please help me out.Thanks. ...

iPhone: Create Custom Field in contacts

hi all, i am developing a application in which i add contact to contact List. i am able to basic info like name, address, email, phone, notes etc. but i want to add some custom field like userLabel1, userValue1 , bioPersonal, bioWork, bioOther. so i want to add custom fields to address Book'contacts. whether it is possible to add custo...

UIViewController created with initWithNibName: bundle: or via an IBOutlet behave differently

I found a strange behavior, and would like to be explained what assertion I am making that is wrong. In an AppDelegate class of a freshly created WindowBased project, I am adding a UIViewController to the window. I can do it two different ways: - with an IBOutlet. In IB, I simply instanced an UIViewController, set its class to TestView...

iPhone SDK: Pushed view controller does not appear

I want to add a detail view for one of the cells in my UITableView. I've created a new view controller SyncDetailViewController) and a NIB for the detail view. Didn't make many changes in the new class. Just added a label and outlet for it and connected nib with view controller. Now I've added this code to my view controller (the one wi...

how to hide Tab bar Controller programmatically?

is it possible to hide it with animation ? ...

How to navigate back to previous view after sending sms is done in iphone?

Hi, I am new to iphone development, i have created sms application using "Text Links(sms:) and i have created the action sheets and the buttons for email, sms. On clicking sms it navigates to the another view(UIView controller) and i wrote a code for SMS.And i faced some problem ,its not removed the view properly, it doesnt goes to the ...

How to set table background transparent in iphone?

I am new to iphone development .I have displayed a list of contents in a grouped table view.How can set the table background transparent such as i should see the text displayed on the gray-color(default color) background and not on the white color.Please help me out.Thanks. ...

UIActionSheet to choose 'Camera' or 'Photos' and then show the Camera or Photo picker

Hi, I am creating an app, in which the user will be able to choose a photo. Now I want that when the user taps a button, an UIActionSheet pops up to let the user choose if they want to use the Camera, or the Photo Library. The UIActionSheet should always be there, but the Camera option only if the device has a camera. I'm not sure if th...

How to change the alpha value of the first table in grouped table in iphone?

I am new to iphone development. I am displaying my content in grouped table view. I want to change the alpha value of the first group of my table only. How can i achieve that. Please help me out. Thanks. ...

How to display a score overview

I am busy with a score overview and I was wondering what is the best way to do it. My first thought is that is would be an UITableView because of all the functionality it already got. But because of all the functionality it also has it limitation when you want to change the look. I was wondering what is a better way: An custom UITabl...

how to resolve malloc_error_break? (Xcode Objective C)

Finally i test on simulator os 3.0 it also show error but when i try to run on simulator 3.1.3 and 3.2 it not have an error did anyone explan this ? after break at malloc_error_break it show callstack like this link text it show log when rotate device [Session started at 2010-02-13 19:15:22 +0700.] 2010-02-13 19:15:24.405 iPortals...

Show a UILabel for * seconds; other ways than with NSTimer?

Hi. Are there any other way of displaying an object/button/whatever for for example 3 seconds than with a NSTimer? Thank you :) EDIT: Could I use an animation to do this? I'll try. ...

XML and SQLite memory utilization and performance on the iPhone

How do the memory utilization and performance for XML or SQLite compare on the iPhone? The initial data set for our application is 500 records with no more than 750 characters each. How well would XML compare with SQLite for accessing say record 397 without going through the first 396? I know SQLite3 would have a better methods for tha...

i want to send the mail from iphone within my application.

I am using the following code to send the mail but when i click on the send button, it come out of the app and send the mail. i dont want to come out of my application. -(IBAction) done:(id) sender { [self sendEmailTo: @"[email protected]" withSubject: @" Question" withBody:[textbody text]]; } - (void) sendEma...

Removing and adding persistent stores to a core data application

I'm using core data on an iPhone application. I have multiple persisntent stores that I'm switching from one to another so that only one of the stores can be active at the time. I have one managed object context and the different persistent stores are similar in data format (sqlite) and share the same managed object model. I'm importing...