I am totally stumped, here's the situation:
My app uses the Core Location framework to get the current location of the user and then pings my server at TrailBehind for interesting places nearby and displays them as a list. No problems.
To conserve batteries, I turn off the GPS service after I get my data from the server. If the user ...
This is so damn simple im sure! Im missing something and im exhausted from trying to fix it. hopefully someone can help.
The Button in CharacterView.m works but the button nested down in CharacterMale.m does not. I'm not using IB everything is done progmatically.
What would cause one button to work and other not?
//////////////////////...
Hi
I want to have a feature in my app where the user can send an email to a friend with the itunes url to my application. How is it possible?
Thanks.
...
Hi
Is it possible to embed images an email being sent from my app? Can we have an tag with source as an image in our app?
Thanks.
...
I am new to Objective C and iPhone development. I am using CoreData on the new iPhone 3.0 platform. My application executes; however, I am getting no objects back from the fetchedResultsController. I would like to see the SQL that is being passed to SQLite.
In the Apple documentation it says I can see this by passing the following a...
Hi,
I need to open programatically a certain tab in my tab bar.
I tried calling the following method from my UITabBarController:
self.selectedViewController = myVController;
Which doesn't work.
What is the right way to open a tab?
Thank you.
Update: I tried the following code:
self.selectedViewController = [ [self viewController...
Hi,
here is what I want to do: Add a CALayer as a sublayer to antoher layer and then immediately animate it. The layer is added with it's position outside the current view and should "fly" into the view. This all takes place in a UIViewController.
Here's how my code basically looks like:
mysublayer.position = CGPointMake(-160.0, -250.0...
Hi,
I have view controllers added to my UITabBarController in the interface builder. How can I add a picture and change item title programmatically?
...
i have a UISegmentControl which have 2 segment in my view,the problem is whatever segment i have choosed, it will return 1 in my selectedSegmentIndex property since i want it remain at the first view when select segment 0,the event i used in my segmentcontrol is valueChanged, and the function will be call as show below:
-(void)segment...
I've had this problem that I have been putting off solving, but now is the time.
I have a basic dictionary program. It has a UISearchBar and a UITableView. It works the way that it should except when running on the device it causes Keyboard lag. (Simulator is fine, of course) I have two types of searching. As-you-type and On-return. I f...
I don't have enough "Stack Overflow fu" yet to have found a previous answer to this.
One of my apps has its data in a SQLite database and I've used the Apple SQLiteBooks sample as primary inspiration -- however, SQLiteBooks has only a single table and a single view. I've got multiple (related) tables accessed as distinct views in a tab ...
I'm using a UIWebView to display a third party web app in my native iPhone application. The third party app uses HTML5's database storage. I'm using stringByEvaluatingJavaScriptFromString to modify the web app's dom a bit, but there's one thing I'm having a lot of trouble trying to do.
What I'd like to do is use javascript to create a...
Developing a simple game for the iPhone, what gives a better performance?
Using a lot of small (10x10 to 30x30 pixels) PNGs for my UIViews' backgrounds.
Using one large PNG and clipping to the bounds of my UIViews.
My thought is that the first technique requires less memory per individual UIView, but complicates how the iPhone handle...
As I understand it, an App ID is an code that's unique for an single application. Every time I start developing an new application, I have to create a new App ID.
But I don't get it what's up with that "provisioning profile". Do I need one for each single app? What's that for?
...
I've got some code I want to only execute on the latest iPhone SDK (3.0), however I can't seem to figure out a way to target just 3.0 and ignore 2.2.1 etc. There is an ifdef statement, but it just seems to cover the entire iPhone:
#if TARGET_OS_IPHONE
Any help is appreciated.
...
When I edit a text field in my UIWebView, the keyboard appears attached with a UIToolbar with various buttons to switch fields etc. I was wondering if anyone knew a way to get rid of this toolbar?
...
Hi all,
i am using soap request in my application and using initWithBytes to convert the retrieved NSMutableData to NSString.
NSString *theXML = [[NSString alloc] initWithBytes: [webData mutableBytes] length:[webData length] encoding:NSUTF8StringEncoding];
while i am running the app on the simulator everything works fine. but at the...
I have an iPhone app that is a client for an existing server application.
I am using the following code to connect, and this code was working fine. Today I started work on the project, and something odd is happening.
When I click "Connect" NSHost takes about 30-45 seconds to resolve and connect to the host. Once the connection is estab...
Any good links are highly appreciated! This goes to community wiki.
...
I have about 50 images of 50 x 50 pixel size each. I want the user to pick one of them. So first I thought about an UITableView, but that's just not the right thing. It wastes a lot of screen space. Rather than putting all images one below the other, it would be better to show a grid of lets say 6 columns and n rows.
I would use an UISc...