Can this be set more dynamically instead of hard coded?
self.title = @"My Title";
// ^^^^^^^^^^^
I want the title to be the name of the row the user clicks on instead of Hard Coded Title name
In my viewController, I have State Names. I want the title to be the state name the user clicks on. Any suggestions?
Thanks in advan...
Hi,
I have a navigation based template application, I parse data into table view.
I want to put a login screen before parse the data. I did the login screen and and succeed the login check.
My problem is that when the user presses the button I change the view to the tableview.
what a way should I draw? I want to learn how can i close the...
In a multi-view application, do you think its better to let views automatically get unloaded in memory tight situations, or to actually only ever have one View Controller allocated at a time, and when you switch views, the new one is created, the old one removed, the new one adde d and the old one released. Deallocating every time also m...
This morning I ran into a crash in an iPhone app I am working on and while I fixed the bug, I'm curious about syntactic reason it was a problem.
Here is my code reduced to simple elements. I am populating items in a TableView using an NSArray for the items. The NSArray is a property:
@interface FooViewController : UITableViewControll...
Hi guys,
just wanted to know how to develop radio application for iphone is any third party providers are required for the radio station services what are the API's available in iphone SDk please suggest how to start with.
thanks in advance.
...
I am using a UINavigationController (side note: inside a UITabBar) which by default gives you a UINavigationBar on the top. If I hide the bar through IB, the bar is gone not only for the root UIViewController but also for all the controllers I push onto the stack. Leaving me no (automatic) way to pop back.
So how can hide the UINavigtio...
I am trying to implement live camera functionality in my iPhone application and am running into trouble. Basically, the way it is structured is this: I provide a UINavigationController wherein the user can navigate to an image with a table view and (upon choosing one) a detail view.
They can then click on a button and take a new photo w...
Hi,
I've been the past days trying to test my first in-app purchse iphone application. Unfortunately I can't find the way to talk to iTunes server to verify the transactionReceipt.
Because it's my first try with this technology I chose to verify the receipt directly from the iPhone instead using server support. But after trying to sen...
I'm using a UITableViewCell with UITableViewCellStyleSubtitle. However, because of the background image I'm using for the cell, I don't like where the detailTextLabel is going. I want to move it and resize it within the cell, but nothing I try seems to work.
CGRect currRect = cell.detailTextLabel.frame;
cell.detailTextLabel.frame = CGRe...
I'm seeing this in the Debugger Console:
<Error>: CGImageSourceGetType image source parameter is nil\n
I think it may be related to the UIWebView used by the Mobclix ad library.
I didn't observe any adverse behavior in my app, but I may be missing something.
...
Hi.
I'm developing and iPhone 3.0 application.
I'm trying to open web links in a UITextView into a UIWebView instead of Safari.
But still no luck.
The UITextView is not editable, and it perfectly detects web links and open them in Safari.
How to avoid that? How to grab that url so i can use with my own web view?
Sorry for my English and ...
Hi,
I want to add copy & paste to my application but make it available to 2.2.1 devices.... How should I proceed ?
Saw that: http://www.clarkcox.com/blog/2009/06/23/sdks-and-deployment-targets/
If I understand correctly, I set the Base SDK to 3.0 in order to be able to compile with 3.0 API (copy & paste) but I set the target for 2.2.1...
I have a problem after upgrading my iPhone SDK 3.0. Xcode does not get the developer certificate, but it's in the key chain.
...
This is the first time that I'm upgrading the iphone sdk and am wondering if there is anything else needed to use the upgraded version with xcode besides just installing it?
...
Hi,
I'm currently trying to test my iPhone application on a real device but I have multiple errors like that:
Undefined symbols:
"_OBJC_CLASS_$_UITableView", referenced from:
__objc_classrefs__DATA@0 in CustomSearchController.o
__objc_classrefs__DATA@0 in HistoryController.o
__objc_classrefs__DATA@0 in SavedSearchesController....
The following code crashes in an Xcode created template project.
int main(int argc, char *argv[])
{
uint64_t t64 = 100000;
double s = (double)t64; // Crash!
...
The crash is accompanied with the following console output and occurs on a 2.2.1 device but not on 3.0.1 devices. It occurs both compiling for Thumb or ARM.
dyld...
I am creating a lookup table mapping contact phone numbers to their corresponding ABRecordRef (I need this so I can efficiently look up contact names and photos based on the phone number a user has dialed).
Unfortunately, for 500 contacts it takes around 4 seconds to loop through all the contacts and create my lookup table, which makes ...
I've got a strange bug I'm not sure how to track down. I'm running an app in the Simmulator 3.0. It has three tabs on the tabBarcontroller, let's call them tab1, tab2, and tab3. All three tabs are a sub-class of a customized grouped table. If I click back and forth between tab1 and tab3 indefinitely, there is no trouble. However, if I cl...
I'm trying to make a new CLLocation subclass. This is the skeleton:
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
@interface JFLocation : CLLocation {
}
@end
#import "JFLocation.h"
@implementation JFLocation
@end
When I build the class I'm getting this errors:
Undefined symbols:
".objc_class_name_CLLocation"...
I have an UIImageView inside a UIScrollView which I use for zooming and scrolling. If the image/content of the scroll view if bigger than the scroll view everything works fine. However, when the image becomes smaller than the scroll view, it sticks to the top left corner of the scroll view. I would like to keep it centered, like the Phot...