Hi there,
I'm aware of the fact that the title of this thread is substandard.
Anyhow, here's the issue I'm facing:
My App displays a tableView with time-relevant content (content can get "old") and therefor updates on a regular basis by calling a web service and parsing its xml answer.
so, in order to not display "out of date" informa...
I'm working on an iPad app, it has a few videos within views using the MPMediaPlayer framework.
Videos are working nice but on viewLoad there is a flashing of the video area when it loads the video. It shows black for a split second then starts playing.
I was thinking of using an NSTimer on viewDidLoad to unhide the hidden video view, ...
Hi,
I am having a strange issue on OS 4.0. i am doing in-app purchase for a consumable product.
i start a transaction. my transaction is complete. i provide the content successfully. and transaction is removed from queue.
then i exit application. and wait for 1 or 2 minute. and run application again. when i run application again. an...
Hi,
I am trying to add an image to the UIBarButtonItem which I have to use in a UIToolbar.
I have managed to read the image and even get it to display with a UIImageView, but when i add it to the UIBarButtonItem and then add that item to the UIToolbar, the toolbar just displaces a "Blank White" space the size and shape of the image t...
how can i set an image into the background of the navigation-bar, so that is also in the background of the back-button ?
now i have an image with a with of 320 pixels, but it shrinks that image so, that the left back-button is the standard-button and on the right side there are 5 pixels in the standard-blue.
i want that this image is ove...
please read the code in my viewcontroller
-(void)StartAnimation
{
if (self.myimgarray == nil) {
self.myimgarray = [NSMutableArray arrayWithCapacity:0];
}
UIImage *img;
for (int i=0; i<=17; i++) {
img = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"a_expand_%d.png",i] ofType:...
Below is my code
NSFileManager *fileManager = [NSFileManager defaultManager];
NSArray *dbPath=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
NSString *documentsDir = [dbPath objectAtIndex:0];
NSString *writableDBPath= [documentsDir stringByAppendingPathComponent:@"mydb.sqlite"];
success = [fileManager ...
Hi All,
I have a navigationcontroller and on click of a row i want a sheet
self.modalPresentationStyle=UIModalPresentationPageSheet;
that comes up and takes the middle space of iPad (transparent).
This works fine but what i want is this sheet which is itself a viewcontroller having table view within it.
Now when the user clicks on th...
I currently have a simple iPhone app that loads a custom subclass of UIView. There's only one controller at the moment for the whole application, although there are several UIViews for separating the program logically.
My current structure looks something like this:
mainView : UIScrollView
\__ has one subView : myCustomUIView : UIV...
Hi,
I have a table cell for which I set its contentView to a custom view that contains one label and a number of uipickerviews. My problem is that only the first picker view is selectable, while all the rest are not. When I click on any of the not-selectable picker views, the table cell gets selected instead. Below is my code:
// Ins...
Hi all,
I'm storing certain values in NSUserDefaults, but after several sessions, I find nil values for those variables whenever I'm retrieving them. It's nowhere that I'm resetting them in my whole program. How can this happen?
Thanx in advance.
...
We have a project that runs fine on OS4 but we're having problems getting it to run on iPad 3.2.
Base SDK is 4.0 and Deployment target is 3.2.
The code crashes on the iPad simulator (and device) before it has even started, with the error
"Data Formatters temporarily
unavailable"
It seems to run okay if I take 2 lines out...
A...
Hi,
I did a very small app which downloads files from a server. iPhone 4 supports background processing of the app that is the app goes in background when user switches it.
Here is my question, if my small app developed on iPhone 3.1 based stuff (build to phone by changing to iOS 4) is allowed to run in background, will my app still c...
Hi All
Just starting out with my first commercial app for the iStore but dont have enough experience to know which OS to target.
My guess would be iPhone OS 3 but what are the implications now that version 4 is released?
also, should I develop for SDK 3.2 as being the most up to date version of OS 3 or target version 3 specifically?
...
Hey guys,
has any of you some experience with parsing HTML with the TouchXML lib on the iPhone. I would like to parse some html and therefore try to do the following
self.parser = [[CXMLDocument alloc]initWithData:self.html options:0 error:&error1];
if (error1) {
NSLog(@"Error: %d", error1);
}
NSError *error;
NSArray *resultNod...
Is there a way to customize the method that is called when someone touches the back button in my UINavigationController? I need to check which nib is being loaded so I can configure the UINavigationController properly (mainly set the navigation bar to hidden for one view).
...
I would like to know how to set an image to a UIBarButtonItem which will then be added to a UIToolbar, by using InitWithImage when creating a UIBarButtonItem.
I am doing the following, but it creates a blank whitespace where the image should be on the UIToolbar
UIImage *image = [UIImage imageNamed:@"6.png"];
UIBarButtonItem *systemIte...
-(void)setState:(id)sender
{
UIButton* button = (UIButton*)sender;
BOOL buttonBool = ([button state]==selected : YES ? NO);
[sender setSelected:buttonBool++];
}
this is my idea, but i cant figure out the actual state of the button calling the funktion.
any button, that calls this funktion, should be toggled between default...
Hi,
In iOS 4, if I close & re-open my app rapidly then (after applicationWillResignActive invocation) there is a chance for applicationWillEnterForeground to be get called well before the applicationDidEnterBackground and results in a black blank screen as because the app entered into background state immediately after the foreg...
Hey All,
I want to map one image to another.I have a template of an image and i want to fix my face on that template picture face.so i have cut the face of that template picture and when i drag my picture on that template picture only my face will come on that template picture face.so please help me.
...