How do I code this so that that it detects which image was tapped first? In other words if one of them is tapped, but the other one was already hidden, i want it to play a different sound?? any ideas?
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [touches anyObject];
NSLog(@"tag %@",touc...
Ok, I'm going to try to make this more clear because my last question was extremely confusing. I've included a picture this time. Each one of these circles is a UIImageView and they are each assigned a random image which is one of 7 colors. So each circle could be one of 7 colors. I want to make it so that the user has to hit the cir...
hi iam going to create an application and my app remember last user action ,, it means user find himself in the same page as he was last time he ran the application .here is my codes but doesn't work !
what is my problem ?
.h
#define HOME_VIEW 0
#define VIEW1 1
#define VIEW2 2
.m
- (void)viewDidLoad {
[super viewDidL...
I know how to make all these uiimageviews disappear and come back again, but I don't know how to write this shorter. They are all assigned unique tags 1-35. I want to check if ALL of them are hidden and then perform an action.
if(test.hidden==YES
&& test2.hidden==YES
&& test3.hidden==YES
&& test4.hidden==YES
...
I know there's the app called Ping! for iPhone that allows the sending of SMS messages over your 3G connection, therefore it doesn't count as a text message and it acts pretty much the same as the regular iPhone texting software. Is there any app like this that's available for both iPhones and Blackberrries?
...
Hi guys
I have a tableview cell with a custom textview in it, I am now left wondering how do I possibly access the text in the textbox after text has been edited/added.
I would normally know how this is done when I draw the textfield through IB, but my textviewcell is dynamically drawn.
(i.e. I would like to capture the data that is u...
Hi all,
In my project i have to use youtube api and play only audio of the video. We must not show the youtube player. Is it possible to play only audio without showing video using youtube api?
Thank You
...
I would like to force the date of the check-in in TFS. Is there any way?
I got the following code, but could not find any way to pass a check-in date:
Dim tfsChangeSet = tfsVersionControl.Workspace.CheckIn(tfsPendingChanges,
user,
...
I have a tab based application with 3 tabs. How do I go about completely closing the view controller of a specific tab when it is switched? It should start again when it starts again.
Thanks for the help.
...
I'm programming an iPhone app and I'm wondering how programmers properly position controls without using Interface Builder. More or less, this is because I want to position a couple of controls without using Interface Builder.
Thanks!
...
I use following code to delete a file. it wroks well.
SHFILEOPSTRUCT FileOp;
ZeroMemory(&FileOp, sizeof(SHFILEOPSTRUCT));
FileOp.hwnd = m_hAppHandle;
FileOp.wFunc = FO_DELETE; //delete
FileOp.pFrom = szPath;
FileOp.pTo = NULL;
FileOp.fFlags = FOF_NOCONFIRMATION | FOF_NOERRORUI;
FileOp.fAnyOperationsAborted = FALSE;
FileOp.hNameMappin...
Hi everyone!
I would like to dismiss the camera view, while displaying a modal view, so this would be faster because the camera doesn't display anything.
I have set up my cameracontroller this way:
self.cameraController = [[[UIImagePickerController alloc] init] autorelease];
self.cameraController.sourceType = UIImagePickerControllerSou...
Hello,
What happens with the NSUserDefaults values and the SQLite database after updating the application in the appstore?
Are they deleted or reseted or happens nothing with them?
Alex
...
I have developed an SDK in Java for which I also have a runtime. I want to restrict development using my runtime jars. My SDK is node-locked but I dont want to keep runtime node-locked so that my clients are free for developing applications using my SDK and sell and run at their clients using runtime. I havent written my own compiler and...
Is there an api that can be used to create a crystal report programmatically? I have reports written in Powerbuilder that we need to convert to Crystal and I would like to automate the conversion.
...
I'm learning to program for the iPhone. I'm trying to figure out how to do some really cool custom view animations. What should I learn, Quartz or OpenGL ES?
For whoever says OpenGL ES, could I use it to animate my views or is only Quartz suitable for the task? Thanks.
Also any resources / the book or anything that teaches you this stu...
I'm programming for the iPhone and I have an idea for an animation that I want to implement.
I want a user tapping on a UITableView cell and it turning 90 degrees and filling up the whole screen with another view that I've made.
I'm wondering how I would do this as well as what knowledge I would need to do this.
Thanks.
Update - I mea...
Hello iPhone Gurus,
I wrote a RSS based application that will fetch some XML files, parse them and throw them into a table view.
I'm using the NSURLConnection and the NSXMLParser in order to connect and parse the XML content.
I would like to cache those results so that once the user connected once to the application he could disconnec...
Hi!
I'm loading a view controller like this:
[self presentModalViewController:webViewController animated:YES];
It works but when I call it a second time the view is the same (of course). I need to perform a selector after the modal view controller gets visible again. How can I do this?
Thanks
Philip
...
Hello,
I have a client who has requested that the weights given to each KPI be shown on the Performancepoint dashboard.
How can i do this? Does the SDK allow for such?
Thanks
...