Search Results

Search found 19072 results on 763 pages for 'iphone sdk 4'.

Page 124/763 | < Previous Page | 120 121 122 123 124 125 126 127 128 129 130 131  | Next Page >

  • iphone - debugging on device crashes immediately

    - by phil swenson
    When I try to debug my app on the iphone device, the splash screen shows and then the app crashes immediately. If I run the app in the simulator or on the device (not from XCode) it runs fine. I tried putting a breakpoint in the main method and it doesn't seem to hit it. There are no logs generated. ideas? suggestions?

    Read the article

  • uiimage oncomplete iphone

    - by dubbeat
    Is there such a thing as an "on load complete" for images in iphone? I want to be able to destroy a UIActivity indicator once and image is loaded. What the general best practice for doing this?

    Read the article

  • Fixed background on iPhone Safari

    - by cannyboy
    iPhone Safari seems to have some sort of problem whereby a page with css like this: body { background: #000 url(fixedimage.png) fixed repeat-x; } ...doesn't actually lead to a fixed image. It scrolls as the user scrolls. I've seen plenty of people kvetching about this on the internets, but no real solution. Does anyone have any ideas?

    Read the article

  • how to place a file in application sand box in iphone

    - by surajbaba
    Is there any way of placing a file into application "sandbox" i.e into eg: /var/mobile/Applications/30B51836-D2DD-43AA-BCB4-9D4DADFED6A2/Documents of iphone? My Application expects a file to be put into /Documents folder of application so that it can be uploaded to my local server. This method should confirm to the rules of Apple so that it should not be rejected.

    Read the article

  • Setting the origin to center of the screen instead of the top left screen?(iPhone)

    - by thyrgle
    Hi, I am working on an iPhone app and I am trying to make something that has to do with line-circle collision detection. I am using the slope of the line and checking if the coordinates of a circle suffice the equation y = mx + b. But, with the current origin (0,0) at the top left it is a pain to get the slope. Any way I can convert the coordinates so the origin is in the center of the screen?

    Read the article

  • How to setup Hessian Kit in iPhone existing projects

    - by Shikhar
    Hello Can any one help me to find out, how I can setup Hessian Kit on existing iPhone project. What are the steps required to run a simple hello world program. I have Hessian Kit (http://sourceforge.net/projects/hessiankit/) but don't know how I can include this in my existing project. Please help Thanks SD

    Read the article

  • Problem with iPhone interoperability and Flash

    - by asksuperuser
    Many Fortune 500 companies have incorporated flash in their websites. What solution to port them to all Mobiles as I hear Apple refuses to get flash ? So what solution does one have ? Redevelop everything at awfull cost using different apis for different mobiles ? Why does iphone refuses to incorporate flash ? What's the purpose of such restriction ?

    Read the article

  • iPhone memory management

    - by Prazi
    I am newbie to iPhone programming. I am not using Interface Builder in my programming. I have some doubt about memory management, @property topics in iPhone. Consider the following code @interface LoadFlag : UIViewController { UIImage *flag; UIImageView *preview; } @property (nonatomic, retain) UIImageView *preview; @property (nonatomic, retain) UIImage *flag; @implementation @synthesize preview; @synthesize flag; - (void)viewDidLoad { flag = [UIImage imageNamed:@"myImage.png"]]; NSLog(@"Preview: %d\n",[preview retainCount]); //Count: 0 but shouldn't it be 1 as I am retaining it in @property in interface file preview=[[UIImageView alloc]init]; NSLog(@"Count: %d\n",[preview retainCount]); //Count: 1 preview.frame=CGRectMake(0.0f, 0.0f, 100.0f, 100.0f); preview.image = flag; [self.view addSubview:preview]; NSLog(@"Count: %d\n",[preview retainCount]); //Count: 2 [preview release]; NSLog(@"Count: %d\n",[preview retainCount]); //Count: 1 } When & Why(what is the need) do I have to set @property with retain (in above case for UIImage & UIImageView) ? I saw this statement in many sample programs but didn't understood the need of it. When I declare @property (nonatomic, retain) UIImageView *preview; statement the retain Count is 0. Why doesn't it increase by 1 inspite of retaining it in @property. Also when I declare [self.view addSubview:preview]; then retain Count increments by 1 again. In this case does the "Autorelease pool" releases for us later or we have to take care of releasing it. I am not sure but I think that the Autorelease should handle it as we didn't explicitly retained it so why should we worry of releasing it. Now, after the [preview release]; statement my count is 1. Now I don't need UIImageView anymore in my program so when and where should I release it so that the count becomes 0 and the memory gets deallocated. Again, I am not sure but I think that the Autorelease should handle it as we didn't explicitly retained it so why should we worry of releasing it. What will happen if I release it in -(void) dealloc method In the statement - flag = [UIImage imageNamed:@"myImage.png"]]; I haven't allocated any memory to flag but how can I still use it in my program. In this case if I do not allocate memory then who allocates & deallocates memory to it or is the "flag" just a reference pointing to - [UIImage imageNamed:@"myImage.png"]];. If it is a reference only then do i need to release it. Thanks in advance.

    Read the article

  • Facebook Connect on iPhone question

    - by TheGambler
    When you use facebook connect on the iPhone do you have to use the supplied login button and login screen built into the framework? The reason I ask is because I'm also using twitter and I would like to have the same user experience when they log in to user as they have when they log in to facebook. So I can either replicate the login screen facebook connect uses for twitter or just not use the facebook connect login screen all together.

    Read the article

  • Simple Iphone XML Example

    - by dub
    Hi, I a bit overwhelmed with all of the sample code I've seen on the apple dev site. I'm looking for a simple example to show me how to load an xml file from a server into iphone. I would like to read url's from this xml file and load an image.

    Read the article

  • Dynamic UI in iphone

    - by praseed
    hi friends.. I have a plan of creating Dynamic UI in iphone using webservices ..that is the UI will be build according to the xml content from a webservice. I need to know some of your suggestions regarding this... where will i get resources for building such an app... are there any tutorials available.....?

    Read the article

  • how to create media player on iphone?

    - by Jim
    I want to create my own media player. There is so much restriction with default media player control on iphone. I have written lots of applications using default media player. Now i want to write my own media player.If any one can give pointer from where to start to create custom media player. Thanks in advance. Jim.

    Read the article

  • iPhone app identifier?

    - by Horace Ho
    What is the unique identifier for an iPhone app? In the info.plist file, there are keys: Bundle display name Executable file Bundle identifier Bundle name If I have already submitted an app on the AppStore before. Then I change some of the keys in the project. Which of the above can be changed freely and AppStore still considers my app is same as the existing one? Thanks!

    Read the article

  • Does a hidden UIViewController consume any resources (iPhone)?

    - by MrDatabase
    My simple iPhone game has two basic "screens": home screen (UIViewController subclass) game screen (UIWindow w/ EAGLLayer where all the OpenGL drawing happens) Currently when the user taps "Play" on the homescreen the UIViewController is just hidden and the game screen is revealed. When the game is over the homescreen UIViewController is unhidden. Does the hidden UIViewController consume any resources when it's hidden?

    Read the article

< Previous Page | 120 121 122 123 124 125 126 127 128 129 130 131  | Next Page >