Does anyone have any idea on how the developers of the reddit iphone application created the browser buttons which appear in the navigation bar when viewing external sites?
does rightBarButtonItem accept any view -> did they just create a view with multiple buttons and assign it to self.navigation.rightBarButtonItem or did they subclass...
When I run my iPhone app with "Leaks" (which has a section for Object Alloc), my app seems to be fine for memory allocation. However, when I run it with just the ObjectAlloc tool, the memory increases steadily as the app runs its main timer. (It is a timer based app). I'm not sure what to trust. I was just wondering if there are any ...
I have some VERY simple code to return the title for a section header:
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
if (section==0) {
return @"";
} else if (section==1) {
return @"Actions";
} else if (section==2) {
return @"Attached To";
}
retu...
I know this question has been asked before, and I took a look at the answer to this question. However, I'm still confused as to how to implement reordering with a UITableView in a Core Data project. What I know is that I need to have a "displayOrder" attribute in my Entity to track the order of items, and I need to enumerate through all ...
I'm consuming a web service in my iPhone app. The web service method returns a response which has several fields (eg. ID, Description, etc..). One of these fields contains binary image data which I need to convert to UIImage in my iPhone application.
I'm using a NSXMLParser successfully to extract data from the XML response. In the pars...
Is there a way to freeze the last frame of my animation in my iphone app? Here's my code so far.
popup.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"picture1.png"],
[UIImage imageNamed:@"picture2.png"],
[UIImage image...
I am testing my app in two different devices. My app is relies heavily on images(allocating and deallocating). I know I have a leak but I am just curious why I observe this.
The behavior between the two devices is different. Device A crashes after 4 cycles of switching between views and Device B after 10 cycles, yet Device A has more fr...
Ok, so I am making progress since my last question. My question now is a lot more simple, or at least I understand more clearly what my question is. In my AppDelegate I have this code to read in data from my database:
-(void) readFromDatabase {
// Setup the database object
sqlite3 *database;
// Init the Array
sections = [[NSMutableArra...
Hi!
How can I get the current hour, minutes, and seconds from this?
NSDate *now = [NSDate date];
Thanks! I want to have 3 int variables with the values stored in them, not a string which displays the values.
...
I'm looking for the best way to detect a character (in a short string, drawn in a large font) touched by the user, and send an accompanying event. It looks like I might be able to do this by looking at the location of a touches ended event inside of a UILabel with "User Interaction Enabled" turned on, or maybe by programmatically creatin...
Hey Guys ,
I had created a project where the default.png sleeps for 3 seconds and then the MainWindow.xib is loaded I wanted to create a new IntroPageViewController.xib before the FirstPageViewController.xib loads . I wanted to put some text in the IntroPage which loads for 10 seconds and has a skip button .
I already created the FirstP...
I am using a webview and on that web view i have a image. I want to know how i detect touch event of image of webview. I have o open a new view when image is touch.
...
Hi,
I want to find IP address in an application. I am able to find it. But, problem is, it works fins in iphone os 2.0 or so. But, in iphone os 3.0 it is giving me a warning:
warning: no '+currentHost' method found
warning: (Messages without a matching method signature)
I am using this code, and it works fine with os version 2.0.
-...
Hi all,
I am working on app which is used to display the current G-Force value of a moving car on iPhone. I don't know how to calculate the G-force value using the iPhone accelerometer values. Also, I have to calculate distance and speed using these values.
Can anybody help me out to fix this problem?
Thanks in advance
...
i want to change playback speed of audio file suring playing audio.How it possible.I am using avaudio.framework.Please give me some idea.
...
I can't say I really understand the memory handling in Objective-C so I have a couple of questions concerning that.
Do I have to remove the objects "url" and "urlRequest" in the box below or does "urlConnection" take on the responsibility for doing that?
NSURL* url = [NSURL URLWithString:url];
NSURLRequest* urlRequest = [[NSURLRequest...
Hi,
I've a very simple static web page (only css and links, no scripts).
It looks good on android and iphone, but too small. I'm guessing they put it smaller since it work for most of the sites.
How can i override this and make him look the size i want it to be?
Thanks in advanced,
Koby
...
I am new to iphone development.I am doing research on voice recording in iphone .I have downloaded the "speak here " sample program from Apple.I want to determine the frequency of my voice that is recorded in iphone.Please guide me .Please help me out.Thanks.
...
I am creating a simple calculator application. I have 10 buttons labelled 0 through 9, and 5 buttons for the operations. I have an uitextfied which should be populated from the buttons. ie when the user click button 1, 1 should be entered in the field and so on. Also the value entered should be there even if the user taps another one. ho...
I have some sensitive data I want to clear directly after use. Currently, the sensitive data is in the form of NSString. NSString is in my understanding immutable, meaning that I can't really clear the data. NSMutableString seems more appropriate, though, as it is mutable and has methods like replaceCharactersInRange and deleteCharacters...