iphone

Measuring Human-Flatulence Propagating Wave Packet on the iPhone

Using my iPhone, I would like to measure human flatulence in order to measure, quantify, and provide a statistical report based on various properties of the overall event quality. Outrageous, maybe. Fun, definitely. If I'm going to "release" an iPhone app, I want to do it in style. That's right, I want to measure farts/stinkers/toots. ...

Call back to delegate using the main thread rather than secondary thread?

I've defined a class called 'AsyncNetworkOperation', a subclass of NSOperation used to perform database queries in my app. My AsyncNetworkOperation class has a protocol, to be used by objects that initiate the AsyncNetworkOperation: @protocol AsyncNetworkOperationDelegate @optional - (void)operationAboutToFinish; @required - (void)opera...

Mutable NSHTTPURLResponse or NSURLResponse

I need to modify response headers in an NSURLResponse. Is this possible? ...

Application crashes on second select of same row

Hi all, I've run into a problem with an iPhone core data application that I'm working on. I have a table that lists objects. If I select one of those objects, I go to a new ViewController that shows the detail for the object. In the detail view, I have a back button that takes me back to the main list view. I can select any number of...

iphone - weird bug between UIActionSheet and UITabBar

hey In my tabbar app, i bring up a UIActionsheet from an action, called from a button in a navigation controller title bar. The UIActionsheet functions as per normal, except for the bottom half of the below button 'cancel', which strangely doesnt respond to touch in the iPhone Simulator. The bottom half of the cancel button is where the...

how can I access iphone videos programitaclly

suppose i load videos to an iPhone using iTunes. I want to write an app that will allow the selection of videos, and the playing of them. I am familiar with the MPMoviePlayerController class. but i only played video that i loaded onside my app. ...

App Store error: The binary you uploaded was invalid.

The notorious error haunts me in App Store: "The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate." Steps I've taken: 1) I'm using Monotouch / MonoDevelop. 2) App works on iPhone Simulator and on Device. 3) I've made the distribution build according to the examples ...

ScrollView with scrollViews - what is the right way to do it?

Hello! Client wants some tricky stuff and i don't really know where to start with it. The idea is that there is a horizontal scrollView whose each page consists of a vertical scrollView. For example, on the horizontal axis there are galleries, on the vertical we scroll through selected gallery's images. Is this even possible? I'd be ve...

Replacing aborts() for unresolved errors in iPhone/CoreData

I have quite a few places in my iPhone application with a line like this: if (![context save:&error]) { /* Replace this implementation with code to handle the error appropriately. abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may...

UINavigationBar buttons color

Hello, How to change the color of the button in the UINavigationBar? For example, I use UINavigationBar with light gray background, and I need the buttons to be dark gray (almost black). It will be cool to have one solution for all button types, i.e. back button, button with image, button with text thanks ...

iphone UITextView does not support data detectors when the text view is editable

I am getting an interesting warning at build time (iPhone simulator) that gives the following: EditView.xib:35:0 UITextView does not support data detectors when the text view is editable. This is basically non existent on google and I would like to remove it. My editview.xib has a textview where I write notes into it. Is there any mo...

Switching Views

I have two XIb files and I need to switch between them with the swipe of a finger, like the native iphone weather app. does anyone know how to do this. please give some sample code if possible. thank you. P.S I am programming in Objective-C. ...

UIView Overgive Value

Hello, when calling another UIView how can I send a value: ServerSelect *neu =[[ServerSelect alloc] initWithNibName:nil bundle:nil]; [self presentModalViewController:neu animated:NO]; to this view? Andreas ...

Changing color of part of an image

I have a png image file that is partly opaque and partly transparent. I display it in a UIImageView as a mask of sorts over another UIImageView layered behind it (as a sibling subview of a common superview). It gives me perfect borders around something painted using a finger on the lower UIImageView in my stack of UIImageViews. Perhap...

iPhone app views logic

I have an iPhone app in development that requires three slides (views). The problem is, since I'm kinda new to this, I'm not sure what's the most logical way to approach this situation. I was going to use a UINavigationController, but then I noticed that the UINavigationController is meant for hierarchical content, which means that it s...

How to read in and parse an XML file on the iphone?

I have a web server which returns an XML file. Lets say http://www.foo.bar/foo.php?wantXML=1 How would I fetch that file from the server and then parse it to access the data? I guess I would have to spawn a new thread and do the whole thing in the background to not block the UI? What classes must I look at? ...

iPhone ARMv6 VFP asm latency, throughput and hazards

Hi! in this document: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301g/DDI0301G_arm1176jzfs_r0p7_trm.pdf on page 21-25 (pdf page 875) the througput and latency timings are given for the assembly instructions of the VFP unit. Are those numbers independant of vectorsize? 1: let's take FMULS which has throughput of 1 and latenc...

UITableView Not refreshing after Modal View Controller dismisses.

My UITable View does not refresh from its data source of an array, which is edited but the Modal view controller. I have confirmed that the editing works fine. And I have this tried these, - (void)viewWillAppear:(BOOL)animated { [myTableView reloadData]; NSLog(@"Routines: %@", routines); NSLog(@"refreshed!"); } and [self.myT...

Dynamically change iphone app icon and loading image

I would like to update the application icon and the splash (loading) screen of my app dynamically if possible, by storing the data in SQLite fetched from a webservice I pretty sure the answer is going to be no but thought I'd get confirmation Thanks ...

Retain counts of IBOutlets

While coding always the same questions concerning retain counts of IBOutlets came along: Retain count after unarchiving an object from NIB? When to use @property's for an IBOutlet? Retain or assign while setting? Differences between Mac and iPhone? So I read The Nib Object Life Cycle from Apple's documentation. Some test apps on Mac and...