I am having an In-App-Purchase for an iPhone app.
I want to display the price in the users local currency in a UILabel. For this I need the price & currency in a variable.
How can I get the price including the currency using SKPayment? (If SKPayment is correct for this use.)
I'm instantiating the product using:
SKPayment *payment = [...
I have a UITextField but my users will prefer enter some number in that field rather than typing text character (like enter a cost a product). So, how can I make the Number View in the keyboard to become default whenever the user tap into the UITextField?
...
This is what happens when I try to compile my iPhone app with Xcode v3.1.4
What in the world does it all mean? (And how do I fix it?)
Processing /Users/carol/Documents/MyApp/build/Release-iphonesimulator/MyApp.app/Info.plist TabBarDemo2-Info.plist
cd /Users/carol/Documents/MyApp
setenv PATH
"/Developer/Platforms/iPhoneSimulator.pl...
First is my touchesBegan function and then the struct that stores the values for my object. I have an array of these objects and I'm trying to figure out when I touch the screen if I'm touching an object on the screen.
I don't know if I need to do this by iterating through all my objects and figure out if I'm touching an object that wa...
I'm trying to find out if an IPhone application. after installed, can email or text the IPhones number to a designated email or sms message location. And or convert a received email message to a text message and send it. Automaticaly.
...
I wanted to design an app that would send SMS messages to your contacts from within the app in the background. However, I cannot seem to find any tutorials on it and the Apple Docs arent anyhelp. I have also read somewhere that it is outright impossible.
But if so, how does the app, iDistress manage to do it? It send text messages from ...
I create a 5-frame animation on UImageView and each image is created by [UIImage imageWithContentOfFile:xxx],
however, the animation on simulator is working well but not on device, it usually has ~1 sec delay though the animation duration is 1sec.
This is my code.
NSArray *animations = [[NSBundle mainBundle] pathsForResourcesOfType:@"...
Hello all ,
I have seen some iPhone apps in which they show first section of rows after loading Other sections of rows will not be visible until you tap them .
If you want to see more data you have to tap on that particular section so it will collapse and show rows of data .
some unclear idea :
- (void)beginUpdates;
- (void)endUpdat...
I am having a memory leak issue with the following code. As much as I can tell I don't see why the problem persists but it still does not release when called. I am detecting the problem in instruments and the following code is keeping its "cards" classes alive even when it should had released them.
Any help welcome.
...
...
-(id)init...
Hi all,
I have an iPhone application, now i want to convert that application to a universal application which runs on all the devices iPhone/iPod/iPad.
So, where to start, what things i need to do?
Any help, link, sample app, anything, will be highly appreciated.
Thanks in advance :)
...
Hello ,
How to set the slider to clicked position and get the slider value on the clicked location on UISlider in iPhone programming.
i know we can drag the slider to that position but i dont want to do it. Can you please tel me how to set the slider to clicked position? Is this possible to do?
...
Hi,
I have made an iphone application that allows users to send text messages for free to any mobile. I want to allow users to add emoticons into their message from standard set provided by me. What might be the best possible solution for this scenario?
regards
ayaz Alavi
...
I have a UITabBarController with more than 5 UITabBarItems so the moreNavigationController is available.
In my UITabBarController Delegate I do the following:
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController
{
//do some stuff
//...
UITableView *moreView = (UITab...
I created a View based application in which i want to navigate from one view to another on a button click but i cannot find the right method??
is it only possible in navigation based application??
i tried addsubview method but still not working??
what is the right method to accomplish this??
...
Hello,
I have made an iPhone app with localized versions. It mostly works fine, but there are two views in which localized NIBs do not load. Standard NIBs (in English) are used. I am sure I made localization properly ("Get Info", "Make file localizable", "Add Localization", added "pl" - for Polish, and then edited created NIB). All the ...
I have a CATiledLayer within a UIView and the UIView also contains a subview.
How can I make sure that the subview is always drawn above the layer?
Most of the time I get the tile layer covering the subview.
...
When using memset or memcpy within an Obj-C program, will the compiler optimise the setting (memset) or copying (memcpy) of data into 32-bit writes or will it do it byte by byte?
...
Hello,
Please tel me how to position the uiSlider to clicked location on it.
...
I'm learning how to develop my own iPhone apps but I'm having a tough time understanding certain concepts.
First, am i right to say that for every view, there must be a view controller for it? And for every view controller, must there be a delegate for it?
Also, what is the role of mainWindow.nib? Most of the tutorials that i've read d...
hello,
i have a UIView UIImageview UIButton and UISlider added as subview to UIView
example:
[view addsubview:uiImageview_obj];
[view addsubview:uiButtonview_obj];
[view addsubview:uiSliderview_obj];
When i zoom the uiimageview_obj, it covers uislider and uibutton also, hence i cannot use uislider and uibutton when i zoom the image....