I have created a Tab Bar controller which has Navigation Bar and a Table View. I set an image on the left side as Subview of navigation bar as below.
CGRect frame = CGRectMake(5.0, 5.0, 94.0, 33.0);
image = [ [UIImageView alloc]initWithImage:[UIImage imageNamed:@"topBarImage.png"] ];
image.frame = frame;
[navBar addSubview:image];
It ...
Can i play movie in portrait mode?If yes than how to play?
...
My app asks the user via a UIActionSheet where they want to import an image from (Photo Library or Camera) and then launches the appropriate UIImagePickerController.
If the user selects Camera I want to first display a UIAlertView with a camera instructions image relevant to the app. This works, however the UIImagePickerController is la...
I have 3 views (xib'd) the third view opens a modal view (also xib'd).
My goal is to dispose the modal view and jump on the view #1.
I used the following code but it does nothing.
self.statusView = [[StatusViewController alloc] initWithNibName:@"StatusViewController" bundle:nil];
[self.navigationController popToViewController:self.stat...
Hi - My application has a simple data model with 70 read-only records grouped into six categories. Currently the persistent data is stored in an XML file which I parse on application launch, and create objects for each record which are stored in an NSMutableArray.
I then populate a UIPickerView from the objects stored in the array, and ...
Hello, i got this message from the debugger:
Pixture(1257,0xa0610500) malloc: *** error for object 0x21a8000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
so i did a bit of tracing and got:
(gdb) shell malloc_history 1257 0x21a8000
ALLOC 0x2196a00-0x21a89ff [size=73728]: thread_a0...
I have done research and tried several times to release the UIImage memory and have been unsuccessful. I saw one other post on the internet where someone else was having this same issue. Everytime imageScaledToSize is called, the ObjectAlloc continues to climb.
In the following code I am pulling a local image from my resource directory...
I'm trying to create an application that uses the iPhone MapView (under Google Code). I can't figure out how to integrate this thing into my application without handwriting the entire UI, ie not using the IB at all.
How can I use the Interface builder to create all of my menus and such but add the MapView in? Do I need to edit the MapVi...
How can we automate iPhone app testing
...
I have a define:
hashdefine kPingServerToSeeIfInternetIsOn "http://10.0.0.8"
then in code I with to use it:
NSString *theURL = [NSString stringWithFormat:@"%@", kPingServerToSeeIfInternetIsOn];
I get an exception.
What's the best way to define the const for the application and use it in a NSString init?
...
I have a UIView that has several UIImageViews as subviews. Each of these subviews has had different affine transform applied. I would like to take what amounts to a screen capture of my UIView, capturing it as a UIImage, or some other image representation.
The method I have tried already, rendering the layers to a CGContext with:
[v...
I'm using this NSURLConnection with delegates.
nsconnection = [[NSURLConnection alloc] initWithRequest:request
delegate:self startImmediately:YES];
Problem is the website doesn't respond at all. Nothing, just spins in browser with blank page, no failure. In my delegates, I handle the failure, but when the site doesn't respond the ...
I'm following a tutorial on how to use Interface Builder from Chapter 2 of Zdziarsky's "iPhone SDK Application Development." The idea appears to be to create a very basic app which consists of a Tab Bar Controller which has two buttons, each tied to a different view object (and each view object in its own respective .xib file). What I en...
I have two arrays with time values in them in this format. 00:00:00 which is minutes:seconds:miliseconds. Can someone show me any easy way of adding an subtracting these values? I know I can if I break them down but I am looking for a way to do it without of code. I can get the last values which is what I want to work with like this ...
i want to write a app in which i open the camera.take a picture and then edit the picture..means put some cool effects on it...something like image editing...does some one knows a good or i say best approach to achieve this?
i want to know that is open-gl necessary to create an aap like image editing?
i have iPhone with OS 2.0. i also h...
I am getting leak and I cannot detect from where this is happening. The stack trace does not give full info after dyld open. For few leaks I am not getting any stack trace info. All I get is only object memory address. Is anyone else facing the same issue. I am using XCode 3.2 on show leopard.
18 0x103038
17 0x1033c7
16 0x1034a1
15 ...
Hi,
I have made Iphone applicatio. In my application whatever data i have recorded; all that data i want to export to the Computer using the application.
Is there any way available to sent data to computer using wifi using developed application? Can we use Bluetooth or Http connection to send application from device to the PC?
if we c...
Hello, I have a question about UIViewController's subview, I created a UIView subclass MainView, which has the exact size of the screen, I wonder which is a better way of adding MainView, consider the following factors:
1 As MainView has same size as the whole screen, the MainView itself may have subviews, but there is no views at the s...
I want to analyze MIC audio on an ongoing basis (not just a snipper or prerecorded sample), and display frequency graph and filter out certain aspects of the audio. Is the iPhone powerful enough for that? I suspect the answer is a yes, given the Google and iPhone voice recognition, Shazaam and other music recognition apps, and guitar t...
Is there any way to animate a line or circle drawn using Core Graphics?
Thanks in advance!!
...