Hi all,
I am trying to load a navigation controller after a home page, so on the home page I have an action that is triggered when a icon is clicked:
- (IBAction)showContact:(id)sender {
ContactViewController *Contactcontroller = [[[ContactViewController alloc] initWithNibName:@"ContactView" bundle:nil] autorelease];
Contactco...
My code is listed below. How can I do it?
UIImage *image = [UIImage imageWithContentsOfFile:
[[NSBundle mainBundle] pathForResource:@"back"
ofType:@"png"
inDirectory:@"data/ui/button"]];
...
Hi,
Now the user only get a error message like "Error code 5".
NSString *errorString = [NSString stringWithFormat:@"Error code %i", [parseError code]];
UIAlertView *errorAlert = [[UIAlertView alloc] initWithTitle:@"Error loading content" message:errorString delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[errorAlert show...
I have a scroll view app which runs fine on the simulator, however, when installed on the device, it gives me an EXC_BAD_ACCESS, when i attempt to scroll one page. I have ran it through Instruments with Allocations and Leaks, but nothing is leaked and no zombies are messaged... i'm just curious what could cause such a difference in simul...
I am using a UIView object that simply sets the background color to blue. This works fine the first time the code runs, but running the changeBackgroundColor mehod again (from a button action) doesnt change the color to red, even though debugging the code clearly shows the method runs as expected.
Please could someone explain why the v...
Hi,
I've spent the last week on an unplanned excursion into the depths of the Macintosh sound system after NSSound proved to be unequal to the task.. I finally got my file playing with Audio Queue Services and now there's only one little thing left to do: switch output devices.
Unfortunately, it seems that I'm either doing something wr...
I want to capture screen and make video like." Talking Larry the bird " Application...
Please give me useful links or source to do that...
I Google it a lot but unable to reach even bit of it...
Thanks in advance..
...
I decided to start using removeAllObjects so that I could re-use some of my NSMutableArrays. However, I am finding that the call to removeAllObjects causes the array to get released and so it crashes when the viewController is displayed for the second time.
I've looked on the web and it seems that some people are saying that removeAllOb...
I've been having alot of problems creating a timer for a iphone application, currently I have a label displaying my timer, but it is just displaying the variable i (2700) in the label, and not decreasing by one every second. Its really driving my head in as this is really my 1st attempt coding in obj C, and for the life of me I cannot ge...
Hi,
Is there a way to get the recipient field with autocompletion like in the mail or text app for my own app? Maybe from the SDK or a framework but I couldn't find anything.
I don't mean the Framework for sending mails an text from my app but only the recipient field at the top.
I think it is a bit bit time consuming to build exactly ...
I need a way to create variables that are accessible for the entire time my custom class is initiated to when I call the release function. I need to retain a NSDate and a NSString.
...
I have installed the latest iPhone SDK and the Simulator how allows hardware version 4.0 and 3.2. Is there a way to add the older hardware versions of the Simulator?
...
I am working on an iPhone app that use Facebook Connect. Its working fine but I need to localize the Facebook connect dialog into French. Is this possible ? Please give your thoughts and if possible I like to know the way it can be done.
Thanks in advance for your help
...
Hi,
I want to hide custom button present in tableview cell for a specific condition.
- (UITableViewCell *)tableView:(UITableView *)tv cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
if(isDisplayMapbutton==YES)
{
UIView* buttonView1 = [[UIView alloc] init];
mapBtn= [[MyCustomBut...
Hi!
Another problem for me with my application is a simple procedure. I want to have a button which, if you press, opens the link associated with the article in question. I have followed instructions that i understand, but I am having trouble understanding why the link will not work.
- (IBAction)link:(id)sender {
WebViewController *vi...
I have a iPhone project write on xCode 3.2.2 but i want run it on xCode 3.2.3! I try do it but it show me a message "error: There is no SDK with the name or path 'iphonesimulator3.1.2'
". Anybody can tell me how to run my project on xCode 3.2.3. Thanks :)
...
HI everybody,
how can i carry out "collision detection" in my app,which
just like this: http://www.gskinner.com/blog/assets/CDTest.swf
Give me some advices,,please..
...
Is is possible to build an iphone project by running an script?
...
Hello all,
So I have a functional search app that searches through our company directory. Right now the launch screen goes right too the table with a toolbar to search. I want to modify the interface to launch to a google-esque view with just a simple search bar. I have created a new view and viewController but when I try to add it t...
I'm using UILongPressGestureRecognizer and when I use one finger it works properly. When I lay down a second finger this is not captured by the recognizer, the delegate keeps being called but only with the first touch, [recognizer numberOfTouches] is always 1.
If I set [recognizer setNumberOfTouchesRequired:2] it also works properly, I ...