Hello:
I have a UITabBar/UINavigation application and I'm having some trouble allowing autorotation in a given view.
The TabBar allows changing sections, with table view items. When one of the items is tapped, I push a new view which hides the TabBar and which should autorotate. I tried the easy way, which seemed most logical to me: di...
I am using libxml2 to parse xml content in my iPhone app. The xml content is downloaded from a server similar to the Apple's own TopSongs sample app. When I check for leaks using the Instruments tool, I see memory leaks being reported on xmlNewParserCtxt, xmlNewInputStream and xmlAllocParserInputBuffer. I have called xmlFreeParserCtxt(co...
Hello.
I'm developing an iPhone application and I'm trying to do this:
I want an application with tree views. The view shown first, doesn't have a navigation bar. If the user tap on a button, I need to open the second view with a navigation bar and a table view. The user can also add new items to the table view. If the user do so, the ...
Example: I want to do this:
METHODNAME(5) {
// do something
}
which results in:
- (void)animationStep5 {
// do something
}
Is there any way to do this? Basically, what I need is a way to generate a real source code string before the program is compiled, so the compiler does see - (void)animationStep5...
Or maybe there's ...
How do I store/retrieve an NSMutableArray of objects? The easy / fast way please. Thanks!
...
Hi friends
I want to view .doc, .docx, .rtf, .ppt file in iphone.
But I guess something is going wrong at my side and its not working for the above formats but my code is working fine for .txt and .pdf files.
I have the read the document regarding Webview it states it supports viewing of the above document.
below is my snippet for .d...
Hi all,
Is it possible for two iPhone apps to communicate with each other by any means like sending messages etc?
EDIT: Also is there any way a system app can communicate with our app?
For example: If I want to play a sound when I receive a phone call, then is it feasible?
Thanx in advance.
...
hi all,
wat i want is,
i hv a alert view,which is having only "Ok" tag button.
what i want is when this alert view appears and user hits the OK button,at the time of this, i want to call another method.
I hope i m clear with wat i want.
expecting a quick reply
regards
shishir
...
Hi,
Is it possible to have the icons in a TabBar and / or the "More navigation controller" be in colors other than grey and black? I tried changing the color of the icon I set for the view controller using UITabBarItem's
- (id)initWithTitle:(NSString *)title image:(UIImage *)image tag:(NSInteger)tag
method.
My client thinks the inte...
Possible Duplicate:
Can you make an incrementing compiler constant?
Example: I try to do this:
static NSInteger stepNum = 1;
#define METHODNAME(i) -(void)step##i
#define STEP METHODNAME(stepNum++)
@implementation Test
STEP {
// do stuff...
[self nextFrame:@selector(step2) afterDelay:1];
}
STEP {
// do stuff.....
I'm planning on building an application where audio media is going to be streamed to the mobile phone for the user to listen.
The targets are smartphones: iPhone/Blackberry/Android/(J2ME ?).
I see that streaming on iPhone has to be done with HTTP Live streaming, but I don't see it supported by other platforms.
Should I broadcast the s...
Hi.
I have decided to start programming some apps for the iPhone that eventually will get submitted to App Store. So I have to use a language the Apple supports.
However, from what I understand, there are some variety of languages I can choose from.
Ansi C
Objective C
C
C++
I started learning C++ in school back in 2001, so maybe I...
For example, I have a huge switch control structure with a few hundred checks. They're an animation sequence, which is numbered from 0 to n.
Someone said I can't use variables with switch. What I need is something like:
NSInteger step = 0;
NSInteger i = 0;
switch (step) {
case i++:
// do stuff
break;
case i++:
// do stuff
...
Hi Guys,
My app worked ok on iPhone SDK 3.1. However, when I try to run it in 3.2 simulator, I get the following error and it crashes:
bool _WebTryThreadLock(bool), 0x5148280: Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread. Crashin...
I present a UIViewController modally but would like to push another ViewController from the modal view. How can this be done as pushViewController does not work from a modal view. Thanks
...
My sqlite file has a size of 7MB. I want to reduce its size. How i can do that ? When am simply compressing it will come around only 1.2 MB. Can i compress my mydb.sqlite to a zip file ? If it is not possible, any other way to reduce size of my sqlite file ?
...
I am new to iPhone development. I want to make a simple iPhone application which when launched computes the distance travelled by the user,calories burnt,postion of the user,movement.Can anybody provide me the details or approach to follow to develop this application.
...
Hello There,
I'm writing games onto IPhone platform and want to leverage the "Play ITunes music while running your app" feature. This is something introduced in OS 3.0 but I want to target OS 2.2.1 with sacrificing that feature, as well.
I'm compiling against 3.0 and have the minimum support set to OS 2.2.1. I also weak referenced "Med...
I have an iPhone app that downloads multiple WAV files from the web, storing the resultant sound data on the phone for playback in the app. Sometimes this works fine, and sometimes I'm getting one of two problems with the sound:
1) There are pieces of a downloaded sound file that play back as staticky, corrupted noise
2) Sometimes the...
Hi All,
I build my app with distribution profile. Every thing goes fine except one warning,
warning: 'The Validate Built Product build setting was not enabled when building for Distribution.'
I find it on Google but get nothing.
Is this warning affect my distribution build.?
Can some one explains what that warning means.?
I follow...