Hi, everyone
i've been trying to figure this out and i have absolutely no clue why this happens.
Here is what i'm trying to do:
I am building a little gps application and i want things like coordinates, altitude, speed, etc. displayed on my main view. I also want to show the current horizontal accuracy.
I do this by using the "locatio...
Hi Everyone,
I want to implement an UI which should look like Speedometer. Is there a way to implement like that? Some of apps i seen that they have implemented. For ex. an app called "TaxCaster" implemented it. Could someone help me how can i achieve it?
Thank you in Advance.
...
I am developing my first iPad app using the iOS SDK 4 and Xcode 3.2. I have written a simple Hello World and have been able to run it in the iPhone simulator. I would like to figure out:
How can I get an iPad simulator?
Is it possible to test my app on my actual iPad without signing up for a developers license for $99?
Thanks,
Mik...
Anyone know of a wrapper for the AddressBook framework that makes it a bit friendlier to use?
...
I am looking to get the location of a touch, preferably corresponding to the pixels of the screen. I'm new to objective-c and cocoa and haven't been able to find anything on the web about this so i'm not sure if there is even a way to do it. any ideas or direction of where to look would be really helpful. thanks.
...
I have seen few apps having exact same UI when you access the app through stand alone app or through their mobile website. What are the pros and cons of both approaches while developing the app?
Edit - This is a general question. Not necessarily android. Iphone apps are also in similar categories.
...
Hi friends,
need some help:
I have created a mutable array of ASCII- strings (21 per Key), which I like to transfer to a socket by using CFStream. Each string represents a key stroke (1 of 8).
Here is the code, I'm using:
// socket- initialising: for writestream, host, port, buf
static CFWriteStreamRef writeStream = NULL;
static C...
Do I have to "release" my UI objects that I declared as IBOutlets with property attributes "retain" and "nonatomic"? I ask because I have a UI var declared as so...
@interface MyViewController : UIViewController
{
IBOutlet UILabel *lblStatus;
}
@property (retain, nonatomic) IBOutlet UILabel *lblStatus;
@end
and my dealloc like so....
Hello everyone, I've seen some threads about how to dismiss the Keyboard when a UITextField loses focus, but it did not work for me and I don't know how. The "touchesBegan:withEvent:" in the following code, never gets called. Why?
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [[event allTouches...
Hello there,
I am quite new here so I do not know many things. And the first thing I do not know is how to Terminate any running process programmatically, e.g. taping on the button; e.g. Mail or Safari.
If it is possible, do not show me the whole code, just the proper way I have to try.
Thanks.
...
I'm trying to make an application in cocos2d that can be used on multiple platforms (iPad, iPhone, iPod touch). Let's say I set a point to (360,160). The point would show up three fourths from the left and half way up the screen on the iPhone. Would it also do this on the ipad, or would I have to set the point to (768,384) to achieve thi...
In my view I have a picture.. The picture has a 3:2 scale and is huge, resolution wise.
I'm having a lot of trouble initializing a UIImage with the image to the original size and then zooming out of the UIImageView so that the entire image is visible within the scrollview.
The program stays only in the portrait orientation.
And no, pl...
Hi everyone,
I am new to iPhone OS App development. Can somebody explain whats the difference between
IBOutlet UIButton *myButton;
@property (nonatomic, retain) IBOutlet UIButton *myButton;
As far i understand the first line was used earlier and now we can use the 2nd line. Theres absolutely no need to write both of them. Any ide...
How would I be able to get a rotation in OpenGLES 2.0 because when I try glRotatef it crashes due to not being implemented. So in the shaded how would I accomplish this?
Thanks In advance
...
The following example:
http://www.raddonline.com/blogs/geek-journal/iphone-sdk-uitabbarcontroller-how-to-save-user-customized-tab-order/
Doesn't work in iOS4.
I would like to be able to save the order of my tabs when the application is shut down.
...
I have data being refreshed in a modalViewController and when that data gets refreshed, the parent controller needs to refresh its data as well. I tried doing a [tableView reloadData]; but it didn't work properly since the actual array values aren't being refreshed. Is there a way for me to reload a controller without the user seeing any...
I am using the following code in my controller implementation file to create the instance of AVAudioRecorder.
-(NSError *) createAVAudioRecorder
{
[recorder release];
recorder = nil;
NSDate *now = [NSDate dateWithTimeIntervalSinceNow:0];
NSString *calDate = [now description];
NSString *fileName = [NSString stringWithFormat:@...
I have a TableViewController and would like to have a static picture as a background, which doesn't scroll along.
The way that everyone recommends using
[UIColor colorWithPatternImage:[UIImage imageNamed:@"backgroundPattern.png"]]
doesn't work as it will
1.) move along and
2.) put the background pattern in every cell
I know ho...
hi ! i am a beginner for iphone and xcode pls anybody give me code to make scroll the screen ...
...
Hi all,
I am getting errors when trying to add items to a NSMutableArray which is encapsulated within an object.
Code follows:
#import <Foundation/Foundation.h>
@interface TestObject : NSObject {
NSMutableArray *myArray;
}
@property (nonatomic, retain) NSMutableArray *myArray;
@end
#import "TestObject.h"
@implementation Te...