hi, all, I want know the passed time that also is between two date,
for example , dateTime1 and dateTime2 , I want a function like getPassedTime( time1, time2)
the function result should be like '1 day 3 hours 12 minutes 10 second' or just '40 second' ...
I know that the method 'timeIntervalSinceDate' of the class 'NSDate' can be us...
Hi all ,
I am asking this question as a small part of my question series regarding game programming .
Refer this question as the main one .
Now suppose I want to develop one small board game on iphone that is multiplayer . so how it will handle how many users are online and displaying them .
Suppose it is an online multiplayer casin...
I am not able to Hide the iphone Camera shutter opening animation for my app.
I am using UIImagePickerController to access iphone camera and using my own overlay controllers.
Is there a way to remove the initial shutter(also known as Iris) animation as the camera starts.
Thank You
...
Hello,
I recently updated our test iPhone 3G with the latest version of iOS 4 to be able to test our apps on the new OS. I regret that I didn't read the forums because after the update the device's performance suffered a lot. However this is not a problem because the device still works. The problem is that when I try to debug our app th...
Hi Coders,
I'm trying to create own UIImagePickerController using Assets Library Framework from the latest SDK 4.0. Here's the code:
-(void)viewDidLoad{
[super viewDidLoad];
groups = [[NSMutableArray alloc] init];
ALAssetsLibrary *assetsLibrary = [[ALAssetsLibrary alloc] init];
NSUInteger groupTypes = ALAssetsGroupAlbum;
ALAsse...
I have a a singleton class here is the code
#import <Foundation/Foundation.h>
#import "CustomColor.h"
@interface Properties : NSObject {
UIColor *bgColor;
CustomColor *bggColor;
}
@property(retain) UIColor *bgColor;
@property (retain) CustomColor *bggColor;
+ (id)sharedProperties;
@end
#import "Properties.h"
static Properti...
I noticed in one of my apps that the activity indicator doesn't seem to work on an iPhone 4. It works fine on an old iPhone upgraded to iOS 4 just not on an iPhone 4. Does anyone know why it isn't working?
...
Hi all,
I am asking this question as a small part of my question series regarding game programming. Refer this question as the main one.
Now suppose I want to develop a game on iphone - a simple multiplayer board game. Suppose its a casino table and there is a table which is currently on (players are playing on) and someone wants to jo...
Hi all ,
I am asking this question as a small part of my question series regarding game programming .
Refer this question as the main one .
Now suppose I want to develop a game on iphone - a simple online multiplayer board game.
Suppose its a casino table.
In the main question ChrisF has tell me of sort of Client - Server architectu...
I find MPMoviePlayerController.h,there is
enum {
MPMovieLoadStateUnknown = 0,
MPMovieLoadStatePlayable = 1 << 0,
MPMovieLoadStatePlaythroughOK = 1 << 1, // Playback will be automatically started in this state when shouldAutoplay is YES
MPMovieLoadStateStalled = 1 << 2, // Playback will be automatic...
hi, all, I want know the passed time that also is between two date,
for example , dateTime1 and dateTime2 , I want a function like getPassedTime( time1, time2)
the function result should be like '1 day 3 hours 12 minutes 10 second' or just '40 second' ...
I know that the method 'timeIntervalSinceDate' of the class 'NSDate' can be us...
I am developing an iPhone application. Right now what I have to do is that I want to receive the UDP packets which contains the voice in alaw format and then simultaneously playing that data. So in my application I want to receive and play data simultaneously. Problem is how to play the alaw data directly?
Any help will be appreciated.....
does someone know where i can find example to do that case ?
2 entities : Catalogue of books and Books.
One relation to-Many between. I found many tuto to explain how to make appears A book of selected catalogue (tableview) but none for a "double" tableview which is simple i suppose.
The first tableview will present all the book's catal...
Hi!some time i release the particular object but still it shows Memory Leaks so which kind of condition should i give so that my memory related issue has been solved?that particular object is allocated in Application Delegate class and it's accessed from many View Controller so how should i remove that memory Leak?
...
How can i write a global method that can be called anywhere in my iPhone App
Can any one Help Please....
Thanx and regards Balu.....
...
Hello Guys ,
I am playing an video from url using MPMoviePlayerViewController class and it is working fine in all version of 3.(3.0,3.1,3.1.2,3.1.3)but in iOS4 video is not playing ? Have any one track this issue ?
thanks
...
In the contacts app, the search bar is shown with a white background and it blends in well with the surrounding UI. The only style choices in Interface Builder don't seem to show a way to host just the search bar, but instead includes chrome around it to make it look slightly 3d.
Is there a way to get rid of the surrounding chrome and ...
Hi all,
In my application, I'm launching a modalViewController on rightbarbutton click of navigationbar. This modalViewController overlaps the navigationbar. I tried setting its frame but it remained the same. I want to display navigationbar even if modalViewController is still there.
EDIT: I call the following method on navigationcont...
How do I read the image color information for each pixel of PVRTC image?
Here is my code extracting the integer arrays
NSData *data = [[NSData alloc] initWithContentsOfFile:path];
NSMutableArray *_imageData = [[NSMutableArray alloc] initWithCapacity:10];
BOOL success = FALSE;
PVRTexHeader *header = NULL;
uint32_t flags, pvrTa...
Hello friends. I am developing an app for a registered charity in the United Kingdom and would like to touch base with you folks to see if any of you have experience with donations via in app purchases.
The donations will likely consist of pre-defined amounts, such as:
£1
£5
£10
£50
£100
My questions is: does Apple allow in app purc...