I have a problem.
This is my code.
When i try to use the IBAction SavePosition the "arrayPosition" isn't update.
Else if i initialize the "arrayPosition" in "SavePosition" the value is stored in the array.
Why this anomaly?
#import <UIKit/UIKit.h>
@interface AccelerometroViewController : UIViewController <UIAccelerometerDelegate, UITex...
I need to fetch some result on a webpage, which use some javascript code to generate the part I am interesting in like following
eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--)d[c]=k[c]||c;k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b...
I'm using following lines of code to animate:
CATransition *animation = [self getAnimation:dirString];
[[self view] exchangeSubviewAtIndex:0 withSubviewAtIndex:1];
[[[self view] layer] addAnimation:animation forKey:kAnimationKey];
After end of animation, I want to play sound.
How can I get notification when animation is comple...
I am developing an application for iphone that will pick an image from photo library and save it at some other place.Now in my application i will be using this image later on from that place.
So can anybody suggest the folder where should i save this image so that the application works perfectly on device also.
...
I am interested to hear what people feel about the new iPhone OS4 release. It is obviously very exciting having access to all the new features, apparently (from apple.com) it has over 1500 new APIs.
My original thoughts were "Wow, this is awesome", and I suppose it is. I was just getting comfortable with OS 3.2 development though, and n...
how can i add Uiimagepickerview in tabbaritem like this image.Kindly go through the below link to view the image.. i need like this image.so pls help me.
http://artoftheiphone.com/wp-content/uploads/2010/02/ShopSavvy-Barcode-Sacnner.png
...
I'm using following code to show curlup animation.
It generally curls up from right side. But I want curl up from left side. How can I get this.
My code is as follows:
[UIView beginAnimations:nil context:nil];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
[UIView setAnimationDuration:1];
if(dirString == kCATransitionFromTop)
{...
Hello
I would like to show a fixed number of sections in a table view with a Fetched Results Controller as the data source.
If you image the contacts app where sections organised by the alphabet, it will not have a header for B if there are no contacts in that section, so the section headers you see are A then C.
I would like to displ...
Hello everyone
I try to place UITabbar on iPhone window using CGRectMake.
But I found that the Y position is different from the display in Interface Builder.
Is there anyone met the same problem?
Using CGRectMake to locate the x,y position, is it possible cause the refusing from App stoe due to compatible reason?
Thanks
interdev
...
Hi all,
I Want to develop an application based on UIAccelerometer..The application is as follows..
As you move your iPhone in space, Air Paint creates a path of this movement mimicking a form of light graffiti.
Actually some one suggested me this application.....Can any body has an idea of how to go about it?
THX
...
Friends,
I am trying to build a simple iphone application to view a local webpage that uses dynamic fonts. The url is www.eenadu.net.
I have just a single view based application and inserted a webview into the view and implementing the webviewdelegate in viewcontroller. The site uses ttf/eot fonts that are dynamically downloadable by bro...
I've been unable to figure this out on my own.
I currently have an Open GLES setup where a view controller both updates a game world (with a dt), fetches the data I need to render, passes it off to an EAGLView through two structures (built of Apple's ES1Renderer), and draws the scene.
Whenever a value originates outside of the Open GL vi...
Hi,
I have been looking into communication methods between two iPhone devices and as I understand it there are two main methods to do this: Bluetooth and WiFi. However I wanted to know if anyone knows of any other way of sharing information between two iPhones? If I were in an area with no WiFi or mobile signal, and couldn't use Bluetoo...
hi all,
can CLLocationManager class be used to compute the distsnce travelled by the person?
...
Hey there,
I'm building an app that allows a user to select or take a photo then it is saved as a jpeg to the app's documents directory. Everything works perfectly, however, I realized that each time I build and run the Xcode project on the device, in reinstalls the app thus creating a new documents directory path. Is there any way to...
I have a custom tableviewcell with a label and a textfield. Right now if I click on the cell to edit the textfield, it only focuses on it if I click within the bounds of the textfield. Is there a way for me to click anywhere in the cell and immediately have it focus on the textfield, even if I click on the label?
Thanks
...
Hey everyone,
Apple provides the following sample code in their QuickContacts project for how to search the address book for a particular user.
-(void)showPersonViewController
{
// Fetch the address book
ABAddressBookRef addressBook = ABAddressBookCreate();
// Search for the person named "Appleseed" in the address book
CFArrayRef...
The following code animates the movement, even though I didn't use beginAnimations:context. How do I get it to move without animating? This is a new iphone view project, and these are the only updates to it.
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
[super v...
For some reason, the retain/release behavior in the following code has me completely baffled.
selectedImage = [UIImage imageNamed:@"icon_72.png"];
[selectedImage release];
This should break but does not. Why? I thought imageNamed autoreleased itself which means the release here is redundant and should break when the autorelease occurs...
do u know which URL for getting iphone digital certificate . i don't the rules for get?
Seeking some link they told $99 paid. But where? what rules ? nothing see . So Could u refer correctly?
...