Okay, so I have a UITableView that I want to apply themes to. I think I've figured out how to do it. What I do is when my view loads, I call a function called "[self getValues]". Here is how it looks:
- (void)getValues {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSString *theme = [defaults valueForKey:@"...
I have an application designed for iPhone OS 2.0 and I am adding some new 3.x functionality to it. My idea is to maintain compatibility with older versions.
I have managed so far, to test for deprecated functions using "if respondToSelector...". This is just fine for calls inside a method but how to deal with method name changes? For ex...
I am writing an iphone app to connect to an SSH server and perform some commands like reboot or check the uptime of the server. Is there a framework which lets me login to some server and invoke some commands on a linux server.
...
Hi,
I currently have a custom UITableViewCell which contains a few labels, and an image.
The "main" label is used to display people's names. Currently, I'm styling it in bold text.
What I'd like to do (to gain some space and readability), is to mimic the Address Book app cell style, that is: first name in light text, and family name in ...
Hello
I was just wondering if using the private API it is possible to detect embeded videos and also get their src URL?
This would be a huge help thank u so much.
...
When Using UIPickerController I have two choices on my App:
take a picture
take a picture from the library (photo album)
but the library itself is composed by two parts:
camera roll
other photo albums
Is there a way to detect if the picture was selected from the camera roll or from the other photo albums?
thanks for any help.
...
I have a problem with my UIScrollView. It's visible but I can't scroll it.
CGRect frame = CGRectMake(20, 90,280,1000);
scroll1=[[UIScrollView alloc]initWithFrame:frame];
scroll1.contentSize = CGSizeMake(280,1000);
scroll1.backgroundColor=[UIColor grayColor];
//scroll1.delegate=scroll1;
[scroll1 setUserInteractionEnabled:TRUE];
[scroll1...
Hello every one,
I want to change the row selection by shaking my iphone.
i.e. as soon as I shake my iphone, the next row should be selected of tableview. And according to that another operation should be perform.
can any one tell???
...
Maybe I clarify my question this way. I want the Window load a view. After I click the MainWindow.xib, I can drag and drop a View in it. The View can make relationship between itself and window. It loads successful. The second way is create a new view Xib. What is different between these two ways? Thz
...
Hello guys!
Maybe is there a good way to determine if I have an internet connection or not? (3G or wifi)
Thanks!
...
I am trying to open an "artist link" on an iPhone application but it is not working. The link is to be inside a local HTML file.
I have tried to use "http://phobos...." or "itms://...." but it seems to be not working.
Yes, I am aware of this apple doc, but what is written on this doc does not seams to work for artist links.
Before ans...
Hello,
I was wondering if there is any way to add a progress bar that monitors how much more of a movie needs to be downloaded before preload is done. Right now I just have a uiactivity indicator but I was wondering if there is any way to do this with the private classes. Any help would rock thank you.
Enea
...
Hey everyone,
I have an app in dev that involves a small list of people, a small list of places, and dates and times.
What is the best way to save this data?
People - list will be < 30 people,
with simple name fields and other
small string feilds. Should i save
them as property lists? Is there any
way to simply create a pointer to a
...
Does anyone know of an app that implemented an in-app subscription?
EDIT
====
Just to be clear I'm referring to implementing an in-app purchase of type "subscription" as apple defines it and not implementing a consumable and calling it subscription.
=====
I thought about how the subscription model can be implemented and always ends...
I am dealing with an old iPhone OS 2.x project and I want to keep compatibility, while designing for 3.x.
I am using NSInvocation, is a code like this
NSInvocation* invoc = [NSInvocation invocationWithMethodSignature:
[cell methodSignatureForSelector:
@selector(initWithStyle:reuseIdentifier:)]...
I am using two table views (Main Table and Sub Table), one table inside other's cell.
I am adding Sub Table in Main Table's cell content view.
I am also using different Cell Identifier for both table cells.
Now, issue is :
When - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
is ca...
Hi All
I have a requirement that a user is allowed only to enter string value in a text field. I need to ensure that he is not allowed to change the keyboard layout, once the keyboard is presented to him on clicking of the field. Is there a way to disable the button for changing the keyboard layout?
Thanks in advance
...
Hi,
i didn't really know how to title this question, but here's a thing that really kills me:
In my app i have a UITableView, UISegmentedControl and UINavigationBar. Once UISegmentedControl gets one of its segments selected i want to show a UIActivityIndicatorView on the UINavigationBar and then parse an xml file and present the results ...
I don't know what's make wrong, my map can load, but the image on the map is not completely load. plx help. thz a lot. Here is the simulate map from the iPhone: (Added more example image.)
http://img689.imageshack.us/img689/8476/screenshot20100309at841.jpg
Here is the code:
MKCoordinateRegion theRegion;
MKCoordinateSpan theSpan;
theS...
Hi All,
Does anyone have any idea on how to perform over-the-air, deployment of an iPhone app?
Apple's document say that enterprise applications can be distributed OTA, but don't describe , how to go about it.
Any ideas??
Thanks in advance.
...