iphone

UINavigationController memory does not decrease when pop a controller

I have a navigation controller-based application with 5 view controller inside. When I push a view controller I allocate some memory and when I go back with popViewController my delloc() method is correctly called. I'm sure that the dealloc is called in the right way for every view controller I push and pop. Nevertheless when I run the ...

can iphone use as a receiver ?

Hello, Can iphone use as a receiver ? Let's say, there will be one app which can connect with a hardware that can send RDF signal. Is that possible iphone to receive signal without any additional hardware ? Thanks. ...

Change UIImagePicker Navigation Bar style to blue

All of my view has a blue navigation bar but when I want user to choose a photo, the UIImagePicker is black. I tried to set the navigation bar of UIImagePickerController to blue using UIBarStyleDefault but it does not work for me, the color is still black. I tried with other UIBarStyle like UIBarStyleBlack and UIBarStyleOpaque as well bu...

Measuring smooth scrolling performance

Is there any way to measure scroll performance in an iPhone app, e.g. updates per second? I'm trying various techniques to improve the scrolling performance but it's sometimes hard to judge if they're actually having an effect. ...

how to get dns server ip in iphone

I have tried to fetch /etc/resolv.conf by open("/etc/resolv.conf", 0644) but it return -1 and the errno is 2 which means "no such file" what can I do? ...

How to draw UIViewController in full screen when push from NavigationController?

my ViewController will start draw under of NavigationBar it will reduce ViewController to 436*320 pixels how can i force it to draw in full screen 480*320 ...

NSInvalidArgumentException caused by "<null selector>"

Hello, we have an iPhone app in the app store where we see a lot of crashes after an update. These crashes did not occure when testing it before submiting it to the app store and we cannot reproduce the crash on our own devices. Heres the crash message we get: 'NSInvalidArgumentException', reason: '* -[MessageHeader ]:unrecognized ...

Adding table cell for each record in a uitableview?

i'm trying to implement a system whereby the user is initially presented with a single tablecell, in a uitableview (grouped style), within a uinavigationview. --------------- + | add record | --------------- When they click on the cell, they are pushed onto a new screen where they fill in a few textviews (perhaps imbedded in a ta...

iPhone Unit Testing

Hi guys, I finished my project on an iPhone dev at uni WITHOUT doing "useful" unit testing (did some simple ones just to put on my report). I was looking at the apple's unit testing suits (logic and application tests) but ended up using iPhoneUnitTesting from google-toolbox-for-mac, which I found more documented and easy to get starte...

Adding UIPickerViews to a view with other elements

Newbie Cocoa Touch question: I'm aiming for an interface with a UIPickerView and a UIButton. The picker needs a delegate and dataSource, which I originally wrote as a separate PickerController class implementing the right protocols. However, I'm now unsure as to how to use interface builder to link everything up. If I have a separate ...

If EntityB inherits from EntityA, must I also make a CDEntityB class that inherits from CDEntityA?

I mean... is that a good idea? ...

If an abstract entity has it's own custom class, is that class usually abstract, too?

If an abstract entity has it's own custom class, is that class usually abstract, too? ...

Three20 Photo Scroller alternative?

Hello I wan to add a view in my iPhone app where the user can scroll (paged) through a series of web loaded images. I've been reading many threads and most of them end up suggesting the Three20 lib. I've tried that and looks complicated to integrate and quite heavy in size (1.2Mb added to my app). Additionally I only need the TTPhoto...

Loading the content of a UIWebView before displaying it

I have a set number of ViewControllers in my app. They are allocated and initialized at application launch and released at exit. They are used by a NavigationController to be pushed/popped. In these ViewControllers there are WebViews (actually there is nothing else). My problem is : When I want to change de content (URL) of a WebView th...

Embedding a long UIWebView within a table view cell with various heights

I want to be able to embed a UIWebView into a tableview's cell (grouped style). The web view is long (longer than the screen), and I want it to display it's full length. So there is no scrolling within the web view itself, just on the table. ------------------------ | a normal table cell | ------------------------ | a normal table cel...

UIVIewController custom init method

Hi I wan' t to implement a custo initialization method for my UIViewController Subclass to "replace" the initWithNibName method. This is the code: - (id) initWithMessage:(NSString *)message { if ((self = [super initWithNibName:@"ToolTip" bundle:nil])) { label.text = message; } return self; } The Label isl...

iPhone HTTP Live Streaming not working on models below 3GS

We are using http live streaming for on demand video from within our iPhone app and on the 3GS models the videos play as they are meant to. However, on the models pre 3GS it gives an error saying this movie format is not supported. I have seen other threads on this however no solutions or insights. Does anyone know if this really is a ...

iphone sdk install into linux

can i install iphone sdk in a linux platform? ...

What kind of data or information would I want to store in the User Info panel for an Entity?

The Xcode Data Modeler has this user info panel at the top right, second tab from left. It asks for key and value. What would I store in there? What is this useful for? ...

Where to find some more details on Core Data object model versioning and migration?

I just wonder what this third panel for versioning configuration is, in the Xcode data modeler on the top right, third tab. Want to see some examples for what this is good for and wether or not I should already provide versioning information right from the beginning. Any cool link and hint is appreciated. ...