Hello,
In my IPhone application, I have two buttons with background image set.
At any time one button is active an the other one is inactive.
I want to display the two buttons in 3d style such that the active image is in front and the other on is at the back but visible.
When the user clicks the inactive button, it should come to the...
Hello All,
How to Store Large size Images into iPhone Application?
Images are taken from UIImagePickerController but saving into Database and retrieving from
Database crash the application.
...
Hello all,
I have registered for Apple Developer Program. I have installed my provisioning profile and other certificates successfully. But still, I am getting error while installing the app for ad-hoc distribution.
I am not sure about this, but I am getting my company name as "CXXXXXXXXX.abc-xyz.com" in mobileProvision certificate. Al...
I am using a standard pop up action in my iphone app (the pop up at the bottom of the screen). This has 2 buttons "ok" and "cancel". It seems the standard colour scheme is to have the top button red. I want to change this so the top button is green. I have been googling forever and can't find the solution. Any ideas would be great. Thank...
hello,
i can't find a property to set my UIPickerView checkable... in other programs, I can select a item and the pickerView show a checkmark :-(
...
It sure looks innocuous enough. In my App Delegate, I check NSUserDefaults for a flag to show tips at startup. If it’s set then, at the end of applicationDidFinishLaunching:, I do this:
TipsViewController *vc = [[TipsViewController alloc]
initWithNibName:@“TipsView" bundle:nil];
[window addSubview:vc.view];
[vc release];
The idea is...
Is it possible to call my function in the background after certain interval programmatically in iPhone SDK development? I want to call one particular function in the background for certain time intervals(may be every 10 mins) during my app in on running..
Could you please share your ideas.
thanks.
Clave/
...
I'm trying to transition between loading of different web pages by hiding the webView while it is loading a page. However, I'm seeing that some image intensive websites are causing webViewDidFinishLoading to fire too soon and when I show the webView at that point then for a split second you get a view of the previous page. Any ideas on ...
Hi all, i am having tabBarController.It is having 3 viewControllers.I want to support landscape mode in only one of these viewControlers.and other 2 view controllers in potrait mode.How to achive this.
...
hello all, I'm parsing an xml file and i've been trying to strip out the whitespace characters in my currentElementValue because it's messing up a couple of things.
I can see in my output window that a couple of carriage returns and tabs are present
(gdb) po string
Keep the arms on the side, and lift your leg.
(gdb) po currentElementV...
I'm currently doing the following as part of my iPhone application
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsPath = [paths objectAtIndex:0];
NSString *filePath = [documentsPath stringByAppendingPathComponent:@"cities.sqlite"];
sqlite3 *database;
if(sqlite3_open...
- (IBAction)onClick1:(id)sender {
// Make sure it's a UIButton
if (![sender isKindOfClass:[UIButton class]])
return;
NSString *title = [(UIButton *)sender currentTitle];
}
I understand how to get the title and other current values but I don't see how I can get the value of the tag property.
...
I have a navigation controller which also has a table view. I want to add an image left side of the navigation bar on top programmatically. When i tried to add by the below code in viewDidLoad:
CGRect frame = CGRectMake(0.0, 0.0, 94.0, 33.0);
UIImageView *image = [ [UIImageView alloc]initWithImage:[UIImage imageNamed:@"topBarImage.p...
I'm trying to sort a list of CLLocationDistance values by closest distance (ascending order). I first converted the values to NSString objects so that I could use the following sort:
NSArray *sortedArray;
sortedArray = [distances sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)];
NSString cannot sort on the numeric value. ...
OK.
Some New Query Here.
Suppose user taps on a button & video begins to play. Now when video plays, it always in full screen mode.
But what do i need is explained below.
Video should be played in a portrait mode.
(but normally video is played in landscape mode ).
How?
Thanks in advance for sharing your knowledge with SO...
...
I want to integrate Apple Payment Gateway with my iPhone app.
i.e
Suppose user wants to purchase gold from the online store.
He/she can do payment through apple payment gatway.
If anybody know than give me advise.
...
I'm trying to create a compare function like the example on the apple site:
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray%5FClass/NSArray.html#//apple%5Fref/occ/instm/NSArray/sortedArrayUsingFunction%3Acontext%3A
The example is not objective-c. Does anyone know how I can convert the ex...
I have an instance of UIScrollview containing an instance of UIView. The UIView is just a container for a horizonal array of UIImageView instances. - Zooming is provided by UIScrollView and UIScrollViewDelegate. I would like to constrain zooming to occur only along the horizontal axis with no vertical scalling at all. How to I do this?
...
Apple submission app aproves when we add UIView inside non-documented UIViews?
I mean,
// search for non-documented subview...
UIView *nv = ... //non-documented view;
[nv addSubview:myNormalView];
Is that ok to Apple?
Thanks.
Hami
...
Hey,
I am wanting to display a number on top of an icon when a user receives a new message, similar to the mail app and sms app when new messages are received (the red number on top of the icon) (btw i want to do it inside my app not on the icon on the home screen)... I know i can just have a little image with every number and draw it...