Hi all,
I have a modal view in my iPhone app (Xcode, Objective C++). How do I make it look as pretty as the system UIAlertView? Specifically, I want:
rounded-rect window with a border around it
semitransparent background
subtle highlight near the top
The transparency can be probably achieved with a less than one alpha channel on the...
I have a table view which is many cases will only have one or two cells that don't fill the screen. In this case, I would like the cells to sit at the bottom, rather than the top. In other words they should "snap" to the bottom of the tableview.
I can force the table view to scroll them to the bottom like this:
CGPoint bottomOffset =...
I want to make my iphone run application in the background.I know there is a program called "backgrounder",but it isn't I want.What should I do?
...
I'm not sure about parsing an xml with attributes. have seen a similar question here
But it shows to get an attribute of intValue. But i need to get the attributes of string type,How to do that?? Images of xml and the relevant portions are given in the following links
Click here for xml and here for required data
...
Short question: What does an exception's "sourceID" refer to, and how can I link it to the relevant source string/file?
Longer story:
I am running Javascript code in an iPhone native app through [UIWebView stringByEvaluatingJavaScriptFromString:]. To help development, and later check user-provided code, I use the following function to ...
I want to create my own number pad to appear after user focus the textfield, so I have two question about it?
1.I use "Interface Builder to add a textfield in my view and select the "Number Pad" as the default pad for user to input number, so when I click the textfield, the number pad appear automaticlly, how can I stop it appear the num...
i am using below url for rss parsing.
http://news.baidu.com/n?cmd=4&class=finannews&tn=rss
But it gives error code 31.Is it possible parsing this type of rss.
If yes then plese give me idea about that.
I am using below code.
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSURL *xmlURL = [NSURL URLWithStrin...
I'm doing a tableview, whose data provider can offer quite a lot of data. There will be an additional Details view for each cell, but I'm thinking that the initial cell could (should) show quite a lot of info, too. Better usability, fancy look & feel, fun to create.
The problem is that it's quite a lot of manual coding to create a cell ...
Hello All,
Iam developing an application in which there are 5 picture and they should scroll both way
Horizontal and Vertical.
E.G :- If i scroll Horizontal from 1st picture then 2nd should display and if i scroll Vertical from 2nd then 3rd should display.
please help if anyone has some idea about it.
Thank you.
...
hi,
i have normal UIViewcontroller ,inwhich i added UINavigationControllerDelegate,i
added as following in willappear?but it did not work?
[self.navigationController setNavigationBarHidden:NO animated:YES];
self.navigationController.navigationItem.title = @"hai";
...
I've parsed an xml and stored the parsed data on strings which are property declared, retained and synthesized, the values are getting into these strings during parsing, but are being invalidated after the parser finish parsing. I'm not able to access them from another IBAction method, where i get EXEC BAD ACCESS error, which, from my ex...
Hi i have used the following code for converting the bigint in decimal to bytearray (raw data) , but i am getting wrong result
What is the mistake here.
I am trying this in Apple Mac ( for Iphone app)
COMP_BYTE_SIZE is 4
Is there any bigendian/ little endian issue , please Help.
void bi_export(BI_CTX *ctx, bigint *x, uint8_t *data, i...
Is it possible to create a table in iphone sdk with custom number of rows and columns? I know to create a table using uitableview, unfortunately, it has a fixed number of columns and is 1. I want to get a view something like the image gallery of the iphone. is that possible? pls give your suggestions
...
hello to all,
i was asked by a client to set up a landing page for iphone users.
the page already exists - very simple, just a few images and text.
i need to:
- make sure its iphone compatible (any special tags or definitions?)
- make sure google mobile search indexes it as a mobile page
- in the home page (different page, for all users...
hi i know how can change color of my navigation bar title but when i write this code :
UILabel * label = [[[UILabel alloc] initWithFrame:CGRectMake(0,0,45,45)] autorelease];
label.textColor = [UIColor yellowColor];
label.backgroundColor=[UIColor clearColor];
self.navigationItem.titleView = label;
label.text=@"Title"; //CUSTOM TITLE
[la...
Hi all,
I've some doubts regarding dealloc function in iPhone program. Is it required to give [self.object_name release] or [object_name release] is ok?..
I've this strange problem in my dealloc function is like this.
-(void) dealloc {
[self.listOfDates release];
[self.listOfDescriptions release];
[super dealloc];
}
But prog...
Hi,
Is it possible to share a core data store between two different iPhone apps signed by the same developer? I would like to develop an application where one iPhone app will save a stream of data, which can then be read by the other app. Is this even possible? Thanks a lot!
...
How do I fix the leak here?
-(NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView {
if(searching){
return nil;
}
NSMutableArray *tempArray = [[NSMutableArray alloc] init];
[tempArray addObject:UITableViewIndexSearch];
[tempArray addObject:@"A"];
[tempArray addObject:@"B"];
[tempArray addObject:@"C"];
[tempA...
Hello
I get a null return when i try out my NSString function.
//Track.m
static NSString* trackUrl;
//static NSString* getTrackNumberUrl;
@implementation Track
- (NSString*)trackUrl {
return @"http://site.com/?a=";
}
- (NSString*)setTrackNumberUrl:(NSString*)trackNumberUrl {
if (trackUrl != trackNumberUrl) {
return ...
Hello i have i problem.
If i want to check my iPhone-app for internet connection, i always get this error message:
* +[Connection isConnected]: unrecognized selector sent to class 0x3bcd500
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '** +[Connection isConnected]: unrecognized selector sent to class...