BUG in IPHONE SDK 3.1
secondsFromGMT method of NSTimeZone Returning Wrong value
Documentation says:
secondsFromGMT
Returns the current difference in seconds between the receiver and Greenwich Mean Time.
This my Sample code
NSTimeZone *tZone =[NSTimeZone timeZoneWithName:@"Asia/Calcutta"];
NSCalendar *calendar = [[NSCalendar alloc] init...
I have a problem with launching my app from url in sms.
When I open my safary and type "myapp://" it opens my application, but somehow iphone sms parser can't recognize my url in the body of the message.
I tried:
myapp://something
myapp:something
<myapp://something>
and still the URL in sms message is not clickable.
I have config...
Can anyone help me out with a simple Tutorial demonstrating the Parsing of image from url in IPhone
...
Hi, I've followed the iphone provisioning assistant to step 3 where I'm supposed to see my installed iphone provisioning profile under provisioning on the Organizer. I currently am unable to see that. I've tried the following guide too.
http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/128-Manag...
I have a UITableView with some rows in it. Is it possible to show a UIPickerView when tapping on a row in the table?
I want the UIPickerView to change its data depending on which row it the UITableView that is selected.
...
Hi All,
I have a UITableView comprised of custom UITableViewCells with some text and a button in them.
The cell's allowSelection property is set to NO so that I can tap the button without selecting the cell.
I am trying to find a way to know which cell in the table was tapped when the button for that cell is pressed. Is there any way t...
hi,
Is it possible to use the bare minimum zlib available on iPhone to uncompress a zip of a folder. I don't want to go for a open source library, please enlighten me the difficulty or possibility of implementing one piece of code which can uncompress a zip file.
...
i have a custom imageView and i want to add a new prooerty "symbol" to it,so that i can identify every object of my custom imageView.So how can i add a new property to it?Should i go for tag?but i have many objects,so i have to set many tags.
Please help......
...
I am developing application in cocos2d framework 0.99.
I have 100 images for animation, the image is big so it's difficult to load how can I get those image catche once and use in the application.
I am using following code:
CCAnimation *walkingAnimation =
[CCAnimation animationWithName:@"Flying Animation" delay:1.0f/10];
for (in...
Hi,
In version 1.0 i am using NSMutableArray and inside that i am storing NSNumbers like
NSMutableArray *myArray;
for(int i= 0 ; i < 10 ; i++)
[myArray addObject:[NSNumber numberWithInt:i]];
For storing my gameStatus.
In Next version(1.1) I want to update myArray like(by storing dictionary inside it)...
NSMutableArray *myArray;
for...
Hello,
I have a the following piece of code:
-(IBAction)routePicker
{
UIView *myView = [[UIView alloc] initWithFrame:CGRectMake(0, 264, 320, 216)];
UIPickerView *thePickerView = [[UIPickerView alloc] initWithFrame:CGRectMake(0,0,320,216)];
thePickerView.dataSource = self;
thePickerView.delegate = self;
[myView ...
I am trying to simply NSLog the output of the new iPhone 4 Gyroscope. But after reading the documentation and following their sample code I am getting this error.
ERROR,Time,300635803.946,Function,"CLLoggingSetFile",could not open locations log /var/mobile/Library/Caches/CoreMotion/CoreMotion.log
Even if I just setup my motionManager ...
I have re-created my iphone app project from scratch. I added my source and datamodel files into the new project. I have the new project compiling and working.
Now I notice that the app created by my new project is not 'compatible' with my old app. If I have an existing database on the device/simulator, the new app does not recognize...
Hi,
Does anybody know of an open source PDF creation project for the iPhone to generate documents from a template (using Quartz)? Or are there any functions people have written for alignment etc? I've seen libHaru but I understand it is lacking some crucial functionality.
Thanks
...
I am working on an alarm app for the iPhone and I cant seem to figure this out. My question is regarding capabilities of backgrounding. Is it possible for a user to specify a certain time for an alarm to play in my app, say 7:00 AM. The user is using iOS 4, and exits the app, but it is still running in the background. Is there anyway for...
I'd like to build a turn-based, multiplayer iPhone game that will require a game server somewhere to connect the players and dish out the world state data. I'm trying to understand how the game server will work so I can begin designing and building it. Up until now, I only have experience with building web applications and so naturally...
I have several iPhone apps and just upgraded to xcode 3.2.3 and have a few issues.
Before, I used to simply select base SDK then do the build. Now, I see where I set the Architecture Base SDK in my target but it's not 'base' it's Simulator of Device. I also set the deployment target to 3.1.3 and now when I simply do a build so I can ...
I set a value in one class and then I want to retrieve that value without creating an object for it.
When I use classname.variableName from another class(which I declare the variableName as property and synthesize it) I get an unknown class method error.
How can I just set an NSString in one class and just reference it from another. I ...
I've come across posts mentioning that you can set the maximum dimensions of a photo returned by the UIImagePickerController camera capture (UIImagePickerControllerSourceTypeCamera), but can't figure out exactly how to do it. Can anyone provide some actual code?
I am trying to return an image with maximum width of 768px, and I also want...
I was watching "Advance Text Handling for iPhone OS" video from WWDC. I really like the demo and want to play with it, but once i download source code from WWDC and try to look for the example. I could not find it. Is there any one who knows from where i can download it?
...