hi
i have an app with tab bar and a navigation controller inside every tab.
i have set a notification that when it lunches the user can get lunch the app by pressing the action on the alert.
i want to redirect the user to one of the views inside one of the controllers.
i have tried this:
- (void)application:(UIApplication *)app didRe...
hello everyone,
I've got an issue which I need to solve
I am recording audio (caf) on the iPhone, then I need to play this after recording.
I am doing this all right on the Simulator but the problem is that on the device, the audio played's volume is really low as the only output is the iPhone's mic and not the iPhone Speaker
In the ...
Hi,
I'm developing an app for iPhone but I've a problem...
I've a view with some textField and the informations writed in them are saved in a plist file. With @class and #import declarations I import this view controller in another controller that manage a table view.
The code I've just wrote appear to be right but my table is filled up ...
Hello,
I am trying to make a sprite animate in cocos2D. I believe I have the animation set up, but how do I draw the animating sprite onto the screen? Here is what I have:
id anim = [[[CCAnimation alloc] initWithName:@"char_walking" delay:1/12.0] autorelease];
[anim addFrame:@"run2.png"];
[anim addFrame:@"run1.png"];
[ani...
I know that there are many API's like json,Facebook,twitter etc for developing related applications on iphone....but how to understand an API?This might be scilly question but I want to know how? what would you suggest for for a beginner?
...
I have this:
_launcherView.pages = [NSArray arrayWithObjects:
[NSArray arrayWithObjects:
[[[TTLauncherItem alloc] initWithTitle:@"New Note"
image:@"bundle://Icon.png"
URL:@"ht...
Hi,
I have a problem with parsing XML.
I have created a program which write a file xml in the project directory.
The file XML are correct. (i checked).
When i try to read this XML the program crash and return 1 status.
I have controlled my 2 path and they are equals.
Can you help me please?
Thanks so much.
#import "PositionIdentifierVi...
I am working on a regular iPhone app which pulls data from a server (XML, JSON, etc...), and I'm wondering what is the best way to implement synching data. Criteria are speed (less network data exchange), robustness (data recovery in case update fails), offline access and flexibility (adaptable when the structure of the database changes ...
From the Core Data docs:
A property name cannot be the same as
any no-parameter method name of
NSObject or NSManagedObject—for
example, you cannot give a property
the name “description”
Ok, so -description is blocked for property names. I guess it's because of KVC. But what exactly does "no-parameter" mean? Is that any meth...
I am just starting to use jQTouch.
In #contact I have a button that calls javascript function sendEmail()
How can I jump to/show the div #statusDiv in the javascript function after sending the email?
function sendEmail() {
// sending email
// --> how to jump to DIV called statusDiv
}
<div id="home" class="cur...
In my app I have a UITableView and I want to change the text's alignment to center (not only from the sides like this
cell.textAlignment = UITextAlignmentCenter;
but from up and down, as well).
Can you help me?
thanks in advance!
...
I'm developing a map application for both iPhone OS and OS X.
This uses Core Graphics to render a map, but rendering each frame is
too slow to scroll in 60fps, and consumes the battery.
So I want to cache the map with rendering the map on bitmap tiles(256x256), but
what kind of bitmap should I use? (like CGImage)
...
So I have a TabBarController with 2 views. One of the views is a TableView in navigationController. When user selects a row I push a detail view there.
I want this detail view to have its own TabBarController different from the former one.
So basically the question is if I can push a view on top different view with different TabBarContr...
I have a view with a table on it. When the app starts, it loads the first 5 visble cells. That works as expected.
My problem is that, when I try to scroll down in the table the app crashes with this error.
What I've found is that didSelectRowAtIndexPath is not being called. AFAIK, all I need to do is to subscribe to the delegate. But I...
After reading this thread:
http://stackoverflow.com/questions/2792932/nsuserdefaults-not-present-on-first-run-on-simulator
I know it's quite easy to store some app data in the [NSUserDefaults standardUserDefaults]. But if other applications also happen to use the same key to store their data, is this possible that my app data gets overw...
For example, I make a fullName property and set it to transient. Does it matter what data type that property is, in this case? For example, does it matter if it's set to int or string?
As far as I get it, a transient property is almost "ignored" by Core Data. I make my accessors for that and when someone accesses fullName, I simply cons...
I have a custom uitableviewcell with several labels and I would like for some of them to autoresize their frame (width) based on the content (text). I am not sure how to accomplish that. I tried to set fixed frame of the label and after apply autoresizingMask, but that doesn't do the trick. Any *pointer to a sample?
...
Hello,
I am new to iPhone development and I am currently working on a simple RSS reader app. The problem I am having is that I need to reposition the textLabel inside the UITableViewCells. I have tried setFrame or setCenter but it doesn't do anything. Does anyone know what I need to do inside the tableView:cellForRowAtIndexPath: method ...
I see NSInteger is used quite often and the typedef for it on the iPhone is a long, so technically I could use it when I am expect int(64) values. But should I be more explicit and use something like int64_t or long directly? What would be the downside of just using long?
...
What's the point of a fetched property? Does someone have a good example what this is good for?
...