Cocoa Touch - Dialogue boxes?
How can i get a plain basic dialogue box in cocoa touch.seems so simple but I can figure it out... Thanks! ...
How can i get a plain basic dialogue box in cocoa touch.seems so simple but I can figure it out... Thanks! ...
I have a view with a UINavBar in it, and a scrollview beneath that. The nav bar has a segmented button which I want to use to toggle between 2 images to be presented in the scrollview. Both of the images are in the same scrollview but one is hidden to start. I was trying to do this like so: -(IBAction)segmentedControlIndexChanged{ swit...
Quick question about swipe to delete feature in UITableView - is there a way to just go ahead and delete the row without showing the Delete button and waiting for user's confirmation? ...
I am developing an iPhone application and i need to log the information about the images selected by the user to an external log file. How can this be achieved in iPhone? I use Objective c for developing the application. I am not able to find out , which image the user has selected and get that information and write to the log file. ...
Hi everybody, I'm writing an application to show some news from a portal. The news are fetched using a JSON file from the Internet and then stored into a NSMutableArray using the CoreData Model. Obviously a user can't delete the news from the JSON file on the Internet, but he can hide them locally. The problems come out here, where I hav...
In my iPhone apps I regularly do this in xCode v3.2.3: Declare a BOOL variable in the *.h file Use @property in the same *.h file. Use @sythesize in the matching *.m file. I accidentally forgot to do #1... but it still complied fine. 0 warnings. 0 errors. 0 analyzer errors. How can that be? Shouldn't my code to loaded with compil...
I have an iPhone app that has a sqlLite Core Data model that is pre-loaded with default data. I want to enable the user to restore this default data if they have modified or deleted records from the model, while retaining any new records added to the model by the user. The sqlLite database is copied to the users documents directory on f...
Hi, I've been reading this forum http://stackoverflow.com/questions/1278834/php-technique-to-query-the-apns-feedback-server And have done most everything that they have mentioned. I have the following code... $apns = stream_socket_client('ssl://' . $apnsHost . ':' . $apnsPort, $error, $errorString, 2, STREAM_CLIENT_CONNECT, $streamC...
Hi, I have a application that runs a timer and performs a action 30 times a second. What I want to do is change the size of a UIButton i have so that every time the timer goes around, it changes the UIButton so that it is a little bit smaller. I have played with a bunch of things I have found online and I still cant figure it out. Any ...
Hi friends, I'm trying to implement the VU meter code sample from http://developer.apple.com/iphone/library/samplecode/avTouch/Introduction/Intro.html in my iPhone Radio app. Until now no joy. My question: is it possible to implement this VU meter, from AVAudioPlayer class, in my code, that uses another object that parses the mms str...
I'm need to use a volitile block of memory to constantly write and rewrite the data inside using multiple threads. The data will be rendered thread-safe using @synchronized if I utilize either malloc'd data or NSMutableData. My question is what is more recommended for speed? Seeing I'm running recursivly calculated equations on the matr...
Hi everyone, So, the problem I'm trying to solve is to use an iPhone/iPod acceleration to manipulate directly a 3D object. For that i've been searching lot's of stuff (Euler angles, Quaternions, etc). I'm using OpenSG, where I have a 3D environment and want to manipulate a certain object (just rotating in all possible iPhone/iPod degree...
I'm developing my first iPhone app and I would greatly appreciate you guy's input on a problem I'm having. I'm looking to implement scrolling both horizontally and vertically. I want the horizontal scrolling to be paged, without the vertical one being paged (scrolling "normally"). A single UIScrollView with pagingEnabled set to YES wil...
I want to customize the minimum time the user can pick on a UIDatePicker in countdown mode. I want it to only allow a minimum interval of 30min but the picker always displays 0 and then the subsequent intervals. If I set a 5min interval, is there any way to have the picker show {30min, 35min, 40min, ... } ? Thanks! ...
How can I turn off the bluetooth hardware when I'm done with it so that my app does not drain the battery? I've seen references to private frameworks but not how to do this in a way that will not get rejected by Apple. What Framework/code do I need? ...
Basically I want to remove all objects from a UIScrollView and I haven't yet found a solution to it because a simple "removeAllObjects" command doesn't work. Does anyone have an idea how to do it? ...
Hi, I need the wifi access point mac address for my class project. I tried googling. I found a some code in code.google (stubler) http://code.google.com/p/iphone-wireless/source/browse/#svn/trunk/Stumbler But this does not seem to work for me. Can anyone please help with this. Thanks ...
I am having a problem with my code skipping over the if(cell == nil) after about nine trips through the cellForRowAtIndexPath. Then items in my table start repeating and do so every nine items. When I remove the if(cell == nil) line, the table comes out beautifully, with all the data in the right order. However, if I scroll to the bottom...
Hi all, In my application , the tableview is having different types of custom cells with different heights. I want to put a view below this tableView, for which I need to calculate the table contentView height, how can I do it? Earlier I used to do it like: (noOfRows * cell_height), but that was for static heights. Thanx in advance. ...
Hi, I have a webservice returning .flv file, it has to be played in iphone application, how do i play a .flv (flash file) in iphone? Does anyone has faced this scenario? Programmatically is it possible to convert to some format and play in iphone? Thanks. ...