iphone

mirror image+iphone

Hi all, I want a functionality in my iPhone application which will convert the image to its mirror like way. Like if there is an image of man with his left hand up Then the converted image must have the same man with his right hand up. Any code or link will be really appreciated Thanks in advance for any help. ...

Rotate Arrow UIImage in a circle in objC

Hi! I'm working on the iPad app, In which I have to rotate a arrow in a circle by touch. But I'm facing problems in it. The problem is in the angle calculation to which the image must be rotate. You can check it here . I have to rotate the big red arrow image around the circle. Can anybody help me, How to get the angle of the touched ...

change UITableViewCell background color when selected

i have a UItableview and i want to change the cell background when it is seleceted and keep it like that so i tried to use [cell setBackgroundColor:[UIColor purpleColor]]; but that made other cells get colored at same time and i dont know why i also tried to use [cell.textLabel setBackgroundColor:[UIColor purpleColor]...

how to restrict scrolling for cpxygraph

hi all, I am new to core plot SDK, implemented core plot in my app. i need to restrict -ve part of graph. i.e always i will have +ve values for graph((1,1),(10,15),(20,15)).i need horizontal , vertical scrolling for +ve part only.So i want to restrict remaining 3 parts of graph. I tried in all ways help less, so posted here. if any one a...

Push more than 1 UIViewController at once

Hi, How do i push more than 1 UIViewController at once? ...

How to found correct crash line in xcode during crash

Hello All, Any one help to find out the correct crash line in xcode during crash .Its very difficult to debug .so help me as soon as possible.thanks in advance. Regards, Arunkumar.P ...

Memory management: manual retain/release or accessor methods?

What is the best approach in terms of: security and control of leaks? performance? visibility outer the class? First: keeping control of each variable if (objectProperty_ != anObject) { [objectProperty_ release]; objectProperty_ = [anObject retain]; } Second: declaring properties and using the accessors and letting the sys...

way, to enforce upgrade of iphone-app inside app-store?

When releasing multiple versions of an iphone-app, there are problems: you are running very old apps (still need to support them through server-api) you have to live with bugs of a certain app, once released blocker-bugs are not fixable Is there a way to mark an iphone-app as unsupported or enforce an online-update, i.e. when it star...

How do I pushViewController/etc. from a UIViewController subclass?

I've been attempting to figure this out for a while now, but I'm up to a point where I can't seem to solve my problem from reading other Q&As. I'm trying to get the active UIViewController in a UINavigationController to send popViewController/pushViewController messages to the UINavigationController, but I cannot figure it out. I'm proba...

iOS core data corruption?

Hi guys, This is a rather general question, as I don't have any solid evidence atm. I have an iPhone app with about 20,000 users. It allows users to message each other, and saves those messages in core data. The only other thing it saves in core data is the users profile, a copy locally and a copy on the server. I have a small perce...

window.orientation is not working in UIWebView

Hi, I am using 3.2 and 4.0 iOs and I am trying to run html file in UIWebView. the html file contains to following lines: var pwint = function(text) { var output = document.getElementById('output'); output.innerHTML = output.innerHTML + text + '\n'; }; var reorient = function(e) { pwint('Window Orientation: ' + window.orientation); ...

Hide the title from UINavigationBar?

Is there any way to hide the title view in a UINavigationBar? Thanks ...

iphone - How to tell which view is currently loaded in a tabBar app?

Here is my scenario. I have 3 out of 4 tab views that contain UIWebViews and UIImageViews. I have the UIImageView on top of the webView to provide a loading image and I remove the imageView when the delegate method webViewDidFinishLoad: is called. This works just fine. The problem I am running into is trying to handle the method web...

Sharing Data between XIB's

Hey everbody. I'm following the James Brannan tutorial's, and im trying to share data between some xbis. No luck. I have 2 xib's. The first, simple button and textfield. The second, just a label, to show the result of the first xib textfield. So, i dont know what im doing wrong. Im using NSObject like in tutorial. SharedData.h #impo...

Is it possible create a iphone application by using java and LWUIT framework?

Is it possible create a IPhone application by using java and LWUIT framework? ...

NSFetchedResultsController delegate methods won't be called after rearranging table rows

hi all i wonder why the delegate methods of NSFetchedResultsController won't be called after i reorder table rows. my problem is that rows disappear when i rearrange them in my tableview with the method - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath so ...

Create an NSMutableArray using NSCalendar

Hi, I have following problem: I need to create an NSMutabeArray with every weekday after a specific date. This should look like: Thursday 28 october 2010 Thursday 04 october 2010 Thursday 11 october 2010 ... How can I do that? I think it has something to do with NSCalendar, but I can't find the right solution... Could you help me? ...

Change Position of UIAlertView

Hello All, Any one help to change the position of UIAlertView .Thanks in advance. Regards, Arunkumar.P ...

UITabBarController + UINavBarController

I know that this has been discussed several times in many other topics, blogs, book, youtube, etc. But, let me explain my case. I want so that when an application opens up, it shows a facebook connect button to login. After the user login, then it will bring up the tabBarView. In my app delegate I first add the MainViewController and the...

objective C touch events problem

I have a 4 UIViews inside a UIScrollView. Assume 1 of it is a chart like in iphone stocks aplication. When I move the finger across the chart I need to draw a vertical line.I can use the touchesMoved for that. But Also I need to move horizontally scroll my views. Problem is when I move my finger across the chart, UIScrollView scrolls ho...