In IPhone Apps crash when press back buton . When press back back button Last class is appeared slightly slighly ash, with no error or warning .

Hi,
I am developing apps on for 4.1 and on Xcode3.2. My Apps crash when press back buton . When press back back button Last class is appeared slightly than crash, with no error or warning ....Here are the code....crash on Back Funtion
#import "TransactionSummaryDetailViewController.h"
#import "TransactionSummaryData.h"
#import "Constant.h"
#import "DataBase.h";
#import "Common.h"
#import "YPCardHolderServiceService.h"
#import "SelectionScreenViewController.h"
@implementation TransactionSummaryDetailViewController
@synthesize table,cardReference;
@synthesize waitIndicator,transactionsummary,keyArray,valueArray,isSummaryAvailable;
@synthesize startDate,endDate;
// The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
        // Custom initialization
    return self;
-(void)getrowcount{
    if(transactionsummary.cardholdernmae !=nil){
        [keyArray addObject:@"Card Holder Name: "];
        [valueArray addObject:transactionsummary.cardholdernmae];
    if(transactionsummary.cardnumber!=nil){
        [keyArray addObject:@"Card Number: "];
        [valueArray addObject:transactionsummary.cardnumber];
    if(transactionsummary.debittransactioncount != nil){
        [keyArray addObject:@"Debit Tx. Count: "];
        [valueArray addObject:transactionsummary.debittransactioncount];
    if(transactionsummary.debittransactionvalue!=nil){
        [keyArray addObject:@"Debit Tx. Value"];
        [valueArray addObject:transactionsummary.debittransactionvalue];
    if(transactionsummary.credittransactioncount!=nil){
        [keyArray addObject:@"Credit Tx. Count: "];
        [valueArray addObject:transactionsummary.credittransactioncount];
    if(transactionsummary.credittransactionvalue!=nil){
        [keyArray addObject:@"Credit Tx. Value: "];
        [valueArray addObject:transactionsummary.credittransactionvalue];
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
    appDelegate = [[UIApplication sharedApplication]delegate];
    keyArray = [[NSMutableArray alloc]init];
    valueArray = [[NSMutableArray alloc]init];
    [self getrowcount];
    NSLog(@"Key Array Count is %d",[keyArray count]);
    [table setBackgroundColor:[UIColor clearColor]];
    [table setSeparatorColor:TableViewCellSeperatorColor];
    [waitIndicator setHidden:YES];
    [self setTitle:@"Summary Details"];
    UIButton *button =  [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[UIImage imageNamed:@"list.png"] forState:UIControlStateNormal];
    [button addTarget:self action:@selector(BacktoView) forControlEvents:UIControlEventTouchUpInside];
    [button setFrame:CGRectMake(0, 0, 76, 44)];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:button];
    if(!isSummaryAvailable)
        if([Common isNetworkAvailable])
            [waitIndicator startAnimating];
            YPCardHolderServiceService *services = [[YPCardHolderServiceService alloc] init];
            YPTransactionsSummaryRequest *summaryRequest = [[YPTransactionsSummaryRequest alloc] init];
            summaryRequest.SC = appDelegate.SC;
            summaryRequest.userName = appDelegate.userName;
            summaryRequest.valid =TRUE;
            summaryRequest.cardReference =[NSString stringWithFormat:@"%@",cardReference];
            NSLog(@"Start Date Is %@ and End Date is %@",startDate,endDate);
            summaryRequest.startDate = startDate;
            summaryRequest.endDate = endDate;
            summaryRequest.applicationType = @"M";
            [services getTransactionsSummary:self action:@selector(getTransactionsSummaryHandlers:) transactionsSummaryRequest:summaryRequest];
            [summaryRequest release];
            [services release];
    [super viewDidLoad];
//Handle the Response of getTransactionsSummary
-(void)getTransactionsSummaryHandlers:(id) value
    [waitIndicator stopAnimating];
    // Handle errors
    if([value isKindOfClass:[NSError class]]) {
        NSLog(@"%@", value);
        return;
    // Handle faults
    if([value isKindOfClass:[SoapFault class]]) {
        NSLog(@"%@", value);
        return;
    // Do something with the YPLoginResponse* result
    YPTransactionsSummaryResponse* result = (YPTransactionsSummaryResponse*)value;
    if(result.statusCode == 0)
        NSLog(@"Number of Transaction is =%d",[result.transactionSummaryList count]);
        NSLog(@"Step 1 ='%@'",appDelegate.userID);
        NSString *deleteQuery = @"delete from TransactionSummary where userid = ";
        NSLog(@"Step 1 ='%@'",appDelegate.userID);
        deleteQuery = [deleteQuery stringByAppendingString:[NSString stringWithFormat:@"%@ and cardreference = '%@'",appDelegate.userID,cardReference]];
        NSLog(@"delete query= '%@'",deleteQuery);
        [DataBase deleteDataFromTable:deleteQuery];
        NSLog(@"delete query= '%@'",deleteQuery);
        //for (int i =0; i< [result.transactionSummaryList count]; i++)
        for (int i =0; i< [result.transactionSummaryList count] -2; i++)
            NSLog(@"for loop= %d",i);
            YPTransactionSummaryDetails *transactionSummary = (YPTransactionSummaryDetails*)[result.transactionSummaryList objectAtIndex:i];
            NSLog(@"cardholdername= '%@'",transactionSummary.cardholderName);
            /*NSString *insertQuery = @"Insert into TransactionSummary(cardholdername,cardnumber,debittransactioncount,debittransac tionvalue,credittransactioncount,credittransactionvalue,userid) values(";
            insertQuery =[insertQuery stringByAppendingString:[NSString stringWithFormat:@"'%@','xxxx xxxx xxxx %@',%d,%d,%d,%d,'%@',%@)",
                                                               transactionSummary.cardholderName,transactionSummary.cardNumber,transactionSumm ary.debitTransactionCount,
                                                               transactionSummary.debitTransactionValue,transactionSummary.creditTransactionCo unt,transactionSummary.creditTransactionValue,
                                                               appDelegate.userID]];*/
            //Add by sarvesh
            NSString *insertQuery = @"Insert into TransactionSummary(cardholdername,cardnumber,debittransactioncount,debittransac tionvalue,credittransactioncount,credittransactionvalue,cardreference,userid) values(";
            insertQuery =[insertQuery stringByAppendingString:[NSString stringWithFormat:@"'%@','%@',%d,%d,%d,%d,'%@',%@)",
                                                               transactionSummary.cardholderName,transactionSummary.cardNumber,transactionSumm ary.debitTransactionCount,
                                                               transactionSummary.debitTransactionValue,transactionSummary.creditTransactionCo unt,transactionSummary.creditTransactionValue,cardReference,
                                                               appDelegate.userID]];
            NSLog(@"Insert Query for Transaction Summary is %@",insertQuery);
            [DataBase InsertIntoTable:insertQuery];
        //Read Update Data From DataBase and Refresh Table
            NSString *query = @"Select * from TransactionSummary where userid = ";
            query = [query stringByAppendingString:[NSString stringWithFormat:@"%@ and cardreference = '%@'",appDelegate.userID,cardReference]];
        NSLog(@"select query= %@",query);
            NSMutableArray *temp=[DataBase getTransactionSummaryTableData:query];
            if([temp count] > 0)
                transactionsummary = (TransactionSummaryData*)[temp objectAtIndex:0];
                [keyArray removeAllObjects];
                [valueArray removeAllObjects];
            [self getrowcount];
            [table reloadData];
-(void)viewDidAppear:(BOOL)animated
    CGFloat navBarHeight = 50.0f;   
    CGRect frame = CGRectMake(0.0f, 20.0f, 320.0f, navBarHeight);
    [self.navigationController.navigationBar setFrame:frame];
    [super viewDidAppear:animated];
-(IBAction)BacktoView
    NSLog(@"in back function..TrasactionSummaryDetail");
    SelectionScreenViewController *screenView=[[SelectionScreenViewController alloc] initWithNibName:@"SelectionScreenViewController" bundle:nil];
    [self.navigationController popViewControllerAnimated:YES];
    [screenView release];
- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{
    return UITableViewCellEditingStyleNone;
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    return 1;
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
    return cellHeightForGroupedTable;
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    if(section == 0)
        return [keyArray count];
    else       
        return 0;
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section{
    NSString *title = nil;
    switch (section){
        case 0:{
            //title = @"Summary Details";
            break;
    return title;
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
    if ([self tableView:tableView titleForHeaderInSection:section] != nil) {
        return tableHeaderHeight;
    else {
        // If no section header title, no section header needed
        return 0;
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
    NSString *sectionTitle = [self tableView:tableView titleForHeaderInSection:section];
    if (sectionTitle == nil) {
        return nil;
    // Create label with section title
    UILabel *label = [[[UILabel alloc] init] autorelease];
    label.frame = CGRectMake(20, 6, 300, 30);
    label.backgroundColor = [UIColor clearColor];
    label.textColor = HeaderTextColor;
    label.shadowColor = HeaderTextShadowColor;
    label.shadowOffset = CGSizeMake(0.0, 1.0);
    label.font = HeaderTextFontSize;
    label.text = sectionTitle;
    // Create header view and add label as a subview
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320,60)];
    [view autorelease];
    [view addSubview:label];
    return view;
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    UITableViewCell *cell = nil;
    NSString *cellIdentifier;
    cellIdentifier = @"SectionsTableIdentifier";
    int row = [indexPath row];
    CGRect nameLabelRect = CGRectMake(19 , 8, 240, 29);
    CGRect cardlabelRect = CGRectMake(19,31,240,15);
    UILabel *nameLabel = [[UILabel alloc] initWithFrame:nameLabelRect];
    UILabel *cardnumber = [[UILabel alloc] initWithFrame:cardlabelRect];
    cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier];
    if(cell == nil){
        cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:cellIdentifier] autorelease];
    // Remove all subview from cell content view
    for (UIView *view in cell.contentView.subviews){
        [view removeFromSuperview];
     [cell setAccessoryType:UITableViewCellAccessoryNone];
    [nameLabel setTextColor:firstLabelFontColor];
    [nameLabel setFont:firstLabelFont];
    [nameLabel setFont:firstLabelFontSize];
     nameLabel.textAlignment = UITextAlignmentLeft;
     nameLabel.text = [NSString stringWithFormat:@"%@ : %@",[keyArray objectAtIndex:row],[valueArray objectAtIndex:row]];
     [cell.contentView addSubview: nameLabel];
     cell.selectionStyle = UITableViewCellSelectionStyleNone;
    [cell setBackgroundColor:[UIColor clearColor]];
    [cell setBackgroundColor:TableViewCellColor];
    [nameLabel setBackgroundColor:[UIColor clearColor]];
    [cardnumber setBackgroundColor:[UIColor clearColor]];
    [cardnumber release];
    [nameLabel release];
    return cell;
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceO rientation {
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    // Release any cached data, images, etc that aren't in use.
- (void)viewDidUnload {
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
- (void)dealloc {
    [table release];
    [waitIndicator release];
    [keyArray release];
    [valueArray release];
    [transactionsummary release];
    [super dealloc];
@end

This is the user-to-user tech support site.  For carrier issues go to the Dev forums.
You might want to note that the current iOS is 4.3.3, and the current SDK is 4.3 and XCode 4.0.2

Similar Messages

  • ' delete an app. All apps wiggle incl. the one in questions. However the app I want to delete does not show the x button. I reseted, also restrictions are on with on for apps delete. Suggestions?

    ' delete an app. All apps wiggle incl. the one in questions. However the app I want to delete does not show the x button. I reseted, also restrictions are on with on for apps delete. Suggestions?

    mardemar wrote:
    ... - the only one without an x delete button.
    What is the name of this App and where did you get it...?

  • IPhone app crash diagnosis

    I have one user of my app who reports that she sees the default bitmap for 2-3 seconds and then goes straight back to the home screen: in other words, my app is silently terminating right at the start.
    Would a crash cause this - or would a crash also display some sort of error message?
    Is any diagnostic information extractable afterwards - even not-very-useful diagnostic information?
    (Fortunately it's a free app).

    You've got it right--your app is crashing on startup. It's probably generating a crash report, but I don't know what Apple does with them.
    Some things to think about:
    1. Does the user have a different device type? For example, does she have an iPod touch and you only tested with iPhones? Or the user has a 3G and you only tested with an EDGE model? Does the user have push Exchange enabled when you didn't in testing?
    2. How about languages and locales? Were there any background apps running and using resources, like iPod? Is there anything else odd about the device--is it unlocked or jailbroken, for example? (Jailbroken phones might have background apps using resources.)
    3. Look at your code closely. Are there any possible race conditions? (That's where two parts of the program are trying to operate on the same object at the same time, and depending on the order in which they get to act, the program will either succeed or crash.)
    4. Look very closely at how you use memory during initialization. In particular, try running your code under Guard Malloc; try it out with Instruments's leak-detection mode; and see if you can turn on zombie objects. Memory management bugs are a code smell; they often indicate deeper problems.
    5. If all else fails, just go ahead and refactor the code in your application's launch. No code is ever perfect, especially code in an iPhone app this close to the App Store's launch. Your spring cleaning might turn something up.

  • IPhone apps crashing & battery draining, why?

    My iPhone apps seem to be crashing after a few seconds including Music, email, facebook, sleepcycle and internet. My battery also seems to be draining really quickly all of a sudden. Today, my battery only lasted 4 hours without me using my phone! Has anyone else experienced this and knows of a fix?

    SuperSunT,  Thanks for posting this... as I'm having the same problem.
    Both my partner and I have iPhone 4S bought on the day they came out.  We weren't having any problems till last month I noticed my phone had the "lock" icon in the center at the top of the home screen and any apps (this "lock" icon is NOT the rotation lock, it is the one that should normally only show up when the phone is locked).  I could not get rid of it, no matter how many times I locked and unlocked my phone.  When I went to go to the Settings app/page, it was blank.  It was just a light grey background with tiny pinstripes (the usual background of the Settings page).   I was also unsuccessful turning the phone off just using the lock/power button.
    I finally had to hard-reset the phone as apps started to not work either. 
    I've only had the "lock" icon problem once, but I've had the Settings App/page blank several times, and each time I've then been unable to shut off the phone with just the lock/power button... then apps start to malfunction.
    The other day it did it and I just let it sit locked for about 10 minutes and it resolved.
    I have app crashes from time to time, but not anymore than before. 
    My partner's phone started having the Settings app/page being blank and being unable to shut off the phone wihtout a hard reset the other day as well! 
    I do not really want to do a clean install, and HATE when the Genius bar suggest this.  They don't ever suggest this for their Mac products, yet they're so nonchalant with this on the phone.  I know they're two VERY different products, but this is getting to be their "I don't know what's wrong.  Instead of me replacing your phone, you must drive back your hour drive, do this arbitrary thing which may or may not fix the problem, and when it doesn't, bring it back in so we can replace the phone and have it do the same thing again until an update comes out!" 
    Sorry, can you tell I've had a few too many problems where this is the case! 
    Anyway... I'm really curious about a few things.  I've not done a clean install since getting iOS 5 (even when I got the 4S I restored it from a 4 backup... but my partner just built his from scratch).  So, I know Game Center will take care of my games.  My e-mails are all stored on the server.  My notes are backed up to the Cloud.  I do have general Cloud backups turned off.  I know I'll need to transfer pictures.  But what other types of stuff do you suggest I should backup?  Basically, I'm asking what are the things you wished you had backed up that you forgot?
    And what is this "some apps let you send backups by email" that you speak of?  I've not seen that, but I've also not gone looking for it?  It drives me nuts that some apps have settings within the app, and some have them in the Settings app/page... and even worse, some have both! 
    Sorry this post is so long, but I've been searching for other people having these problems for a month now... starting with the "lock" icon problem (I figured that was the one identifying thing).  Unfortunately, I just ended up with hundreds of people who couldn't figure out that they had turned on the rotation lock and couldn't turn it back off.   
    Thanks for your (or anyone else's) help in advance! 
    P.S.  I'm including pictures of the "lock" problem as well as the blank Settings page! 
    This first one shows the "lock" icon at the top.  Clearly I am on the "Home" screen and the phone is not locked.
    This second one is while I'm in the Settings app.  This was taken the same day, and I just noticed that not only is the "lock" icon not showing, neither is the clock.  I have another screen shot from a different day where I wasn't getting the "lock" icon problem, but the clock was in the middle at the top as it should be. 

  • Iphone App crashes since using Air 4.0

    I have an APP called "Join Our Games Poker" into Itunes Store.
    It was generated using Flash Builder 4.7 with Air 3.9 SDK.  But since Apple change the requirements in the store, the only way
    to get an APP approved is using the Air 4.0  SDK Build 1619 or higer versions (now Im trying with Air SDK 13.0).
    Now I'm trying to publish a similar APP that uses the same code that Join Our Games Poker has, but with different name and graphics.
    I have to use Air 4.0  SDK Build 1619 or Air 13.0 to be able to publish it in the store.
    If I run this new APP in any simulator or even directly into my Iphone 4S using the USB cable and debugging mode through Flash Builder 4.7, it works fine.
    The same is true when I export a release build of this APP for Android.
    But when I export a release build for Iphone Distribution or AdHoc versions, my APP runs fine for a while, but at some point it crashes. Any clue about the problem I have?  Thanks.
    When I use Air 4.0, I got this log file in the Iphone 4S:
    Incident Identifier: 69F97CE4-C216-4A7D-B266-D628CC258B0C
    CrashReporter Key:   e1880407586bb5a94db8ec33042021d62227c4d2
    Hardware Model:      iPhone4,1
    Process:             Poker Casino School [264]
    Path:                /var/mobile/Applications/E15BDD44-6710-4FAE-A596-A37997AECBE2/Poker Casino School.app/Poker Casino School
    Identifier:          com.pokercasinoschool
    Version:             1.0.3 (1.0.3)
    Code Type:           ARM (Native)
    Parent Process:      launchd [1]
    Date/Time:           2014-02-27 00:51:48.942 -0600
    OS Version:          iOS 7.0.6 (11B651)
    Report Version:      104
    Exception Type:  00000020
    Exception Codes: 0x000000008badf00d
    Highlighted Thread:  0
    Application Specific Information:
    Poker Casino Sc[264] has active assertions beyond permitted time:
        <BKProcessAssertion: 0x16d81cf0> identifier: Suspending process: Poker Casino Sc[264] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:28 preventSuspend  preventThrottleDownCPU  preventThrottleDownUI  preventSuspendOnSleep

    Yeah, we seem to be getting a similar issue with our Air app as of version 2.6.  We're trying to downgrade Air and confirm that it's just 2.6, but here is the error report from Windows 7 Event Viewer:
    And Air 2.7 seems to be giving us memory leaks so we're not using that either.
    Simon.
    Faulting application name: MenucastProjector.exe, version: 0.0.0.0, time stamp: 0x4d90a051
    Faulting module name: Adobe AIR.dll, version: 2.6.0.19140, time stamp: 0x4da50998
    Exception code: 0xc0000005
    Fault offset: 0x001700b3
    Faulting process id: 0x950
    Faulting application start time: 0x01cc05d2bd6836c4
    Faulting application path: C:\Program Files (x86)\Menucast\MenucastProjector\MenucastProjector.exe
    Faulting module path: c:\Program Files (x86)\CommonFiles\Adobe AIR\Versions\1.0\Adobe AIR.dll
    Report Id: 9f6f7673-73de-11e0-a0e0-002522a0bc81

  • IPhone App Crashing on iOS8

    Ever since I've upgraded my iphone to iOS 8 the app keeps crashing everytime I try to sync my offline playlists. The app works fine if I turn off all my offline playlists, however as soon I turn on one the app crashes over and over again.
    I've already restarted the phone multiple times, reinstalled the app multiple times and also tried to trick going around of changing the region on my phone to the UK and then back to the US but none of these solutions have helped! Please help - I live in New York city and listen to my spotify offline synced playlists while on the subway
    Phone: iPhone 5
    iOS: 8.0.2

    My spotify ios app has been crashing at startup for almost 2 weeks (iphone 5s). I have tried all aforementioned tricks except reinstalling the app, since I do not want to have to synchronize my local tracks again.
    I really am expecting an app update to fix this problem!  I have been browsing this forum and reading the threads related to this issue. the absence of any official spotify response is starting to irritate me at this point.
    Transparent communication with your paying customers would really go a long way. 

  • IPhone apps crashing.... constantly

    Hey all,
    I don't see anyone complaining about this so maybe I just have a bad phone....
    The calendar, iPod, Safari, Mail, Photos, and Maps all crash. I will be able to listen to music for anywhere from a few seconds to a few hours and suddenly the iPod vanishes and the music stops. (Not a battery issue). If I try to access any applications while I am listening to music, both apps crash instantly.
    Even without iPod running, Safari crashes constantly, as does Mail.
    At least when apps crash, they basically just kick you back to the home screen. No dialog, no alerts... just "poof".
    Anyone else?

    You're not alone.
    I've had various "crashes" that take me back to the home screen. A power cycle generally does the trick for me. You may even want to try a reset.
    My guess is that some of these issues will be addressed in a software update.
    iMac Core Duo, 1GB RAM, Lacie 160GB Firewire HD   Mac OS X (10.4.10)   iMac G5, Two Mac minis, 5G iPod (Black), iPhone

  • Find my iPhone app has stopped working correctly and when trying to locate that device from my iPad its online but can't locate but locate option is on for that device

    i have new issue for find iPhone app.  everything always worked up until recently.  to locate that device from my iPad as always, it says that device (my iphone) is online but cannot locate.  but phone is in hand and locate option is on

    Reset the iPhone: Hold down the home and sleep button, wait for the Apple logo, let go of the buttons.

  • Both my iPad and iPhone apps crash, they close up without a reason. I've now reset both devises several times but it still happens. What is the issue? Is it my devices?please help it is annoying me now! Thank you

    I have an issue with my iPad and iPhone. They apps keep on crashing, even the standard apps like mail and safari, notes etc. I have reset the divices and have the latest software, what am I doing wrong? Why would this happen? It is annoying and I want to fix it as I am in the middle of stuff and apps just close! Help.

    I'm guessing it's an app that is on both devices.  Delete all common apps, reset and see how they run.
    Also try clearing your recently used list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Tap and hold any icon until they wiggle
    - Continually press the red to delete the apps from this list.
    - Press the home button twice when done
    With a quick finger, you can clear this list very quickly.

  • IPhone 4 crashes a Windows XP computer when attached

    A friend of mine is using an iPhone 4. I have to support him with OS-upgrades and moving data (music, pictures) to & from his phone, because when he attaches his iPhone to his PC, the PC crashes: shuts down within a second.
    Equipment used: iPhone 4, iOS 4.3.3
    PC: C2D, 4GB RAM, Windows XP, iTunes (did not note the version)
    The PC normally serves seceral USB connections, like external HD and printer.
    iTunes runs normally.
    Then you attach the iPhone via USB.
    The iPhone appears in the sidebar of iTunes, there is a chime, and then, within a fraction of a second, the PC shuts down.
    It shuts down very fast, completely, so next you have to switch it on with he power switch.
    Has anything like this happened to anyone? Any ideas, suggestions?
    Many thanks!

    Use the Windows File Transfer Utility to move everything.

  • IPhone Apps Crashing

    Hey guys. I have a 3G iPhone with a few apps on it. Everything was working fine until the day 2.0.1 came out and I installed it on my phone. After that none of my apps would work. All that works is what was pre-installed on the phone. I've tried restoring from backup and I've tried restoring without backup. Any idea whats going on? Am I completely screwed at this point?

    I am having the same problem with the 2.0.1 software update. What I did to fix the problem was:
    1.)Unsync the apps off the iPhone.
    2.)Disconnect your iPhone from the computer.
    3.)Reset iPhone: press and hold the Sleep/Wake button and the Home button at the same time for at least 10 seconds. During this time, a red "power off" slider may appear and the screen may go black, but do not release Sleep/Wake and Home buttons until the Apple logo appears.
    3.)Reconnect your iPhone to the computer and resync your apps and they should work again.
    But there is still a "bug" with the software 2.0.1. If you "Reset" your iPhone at anytime by holding the Sleep/Wake button and the Home button the apps will not work again after the restart completes. Then you will have to perform the same steps I have listed above to get them working again. This is a huge pain in the ***. And Apple needs to fix and address this problem. I am having this problem on my iPhone 2G and my girlfriends 3G iPhone. I have had to do this 10 times already between both phones, it's not fun. =8-(

  • IPhone app crashes unpredictably (iAd related?)

    Here's the top of the crash log that gets generated. Always the same.
    Looks like iAds is always the culprit.
    Is it my code, some anomaly with iAds, or what?
    Thanks for any input.
    -Phil
    Application Specific Information:
    objc_msgSend() selector name: bannerViewDidLoadAd:
    iPhone Simulator 225, iPhone OS 4.1 (iPhone/8B117)
    Thread 0 Crashed: Dispatch queue: com.apple.main-thread
    0 libobjc.A.dylib 0x02899907 objc_msgSend + 27
    1 CoreFoundation 0x026ad4a1 -[NSInvocation invoke] + 145
    2 CoreFoundation 0x026ae354 __forwarding__ + 1124
    3 CoreFoundation 0x026ade72 CF_forwarding_prep0 + 50
    4 iAd 0x02476222 -[ADDistributedMessagingCenter messagePort:receivedMessage:withData:] + 251
    5 iAd 0x0247683b ADMessagePortCallBack + 75
    6 CoreFoundation 0x026f428c __CFMessagePortPerform + 396
    7 CoreFoundation 0x0271dff4 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION_ + 52
    8 CoreFoundation 0x0267e807 __CFRunLoopDoSource1 + 215
    9 CoreFoundation 0x0267ba93 __CFRunLoopRun + 979
    10 CoreFoundation 0x0267b350 CFRunLoopRunSpecific + 208
    11 CoreFoundation 0x0267b271 CFRunLoopRunInMode + 97
    12 GraphicsServices 0x0301b00c GSEventRunModal + 217
    13 GraphicsServices 0x0301b0d1 GSEventRun + 115
    14 UIKit 0x00349af2 UIApplicationMain + 1160
    15 wrazz 0x00002289 main + 121 (main.m:13)
    16 wrazz 0x00002205 start + 53
    Here's my code:
    #pragma mark -
    #pragma mark ADBannerViewDelegate Methods
    - (void)bannerViewDidLoadAd:(ADBannerView *)banner {
    if (!self.bannerIsVisible) {
    [UIView beginAnimations:nil context:NULL];
    banner.frame = CGRectOffset(banner.frame, 0, -50);
    CGRect r = [self.planTableView frame];
    self.planTableView.frame = CGRectMake(r.origin.x,
    r.origin.y,
    r.size.width,
    r.size.height - 50);
    [UIView commitAnimations];
    self.bannerIsVisible = YES;
    - (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error {
    if (self.bannerIsVisible) {
    [UIView beginAnimations:nil context:NULL];
    banner.frame = CGRectOffset(banner.frame, 0, 50);
    CGRect r = [self.gameplanTableView frame];
    self.planTableView.frame = CGRectMake(r.origin.x,
    r.origin.y,
    r.size.width,
    r.size.height + 50);
    [UIView commitAnimations];
    self.bannerIsVisible = NO;
    - (void)setupForiAds {
    //// SET UP FOR IADS ////
    static NSString * const kADBannerViewClass = @"ADBannerView";
    if (NSClassFromString(kADBannerViewClass) != nil) {
    if (self.adView == nil) {
    self.adView = [[[ADBannerView alloc] init] autorelease];
    self.adView.delegate = self;
    self.adView.frame = CGRectMake(0, 368, 320, 50);
    self.adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifier320x50;
    [self.view addSubview:self.adView];
    - (void)viewDidLoad {
    [super viewDidLoad];
    [self.navigationItem setTitle:@"Planning"];
    UIBarButtonItem *backBarButtonItem = [[UIBarButtonItem alloc]
    initWithTitle:@"Plans"
    style:UIBarButtonItemStyleBordered
    target:nil
    action:nil];
    self.navigationItem.backBarButtonItem = backBarButtonItem;
    [backBarButtonItem release];
    self.planTableView.delegate = self;
    self.planTableView.dataSource = self;
    NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
    [nc addObserver:self
    selector:@selector(keyboardWillShow:)
    name:UIKeyboardWillShowNotification
    object:nil];
    [nc addObserver:self
    selector:@selector(keyboardWillHide:)
    name:UIKeyboardWillHideNotification
    object:nil];
    [self setupForiAds];
    CGRect temp = logView.frame;
    temp.size.height = 0.0;
    [logView setFrame:temp];

    I don't have the problem, but I have seen messages that say that a restart usually fixes it, and if that doesn't clear cookies, history and cache in settings/Safari and then restart again. If this also fails try to Reset Network Settings, also in settings.

  • All apps crash on Intel based mac, when I try to print. Suggestions?

    I just setup a New, Intel-based mac. I used the migration assistant, to transfer all account information, settings, and docs to the new machine, and everything went flawlessly. But,,,,,,,
    When I try to print something, anything, from any application, the application crashes immediately.
    Should I:
    Repair permissions (not a cure all, but probably doesn't hurt.)
    Reset printing system in printer setup utility, or,,
    Take another course of action.
    Doesn't seem to matter which printer is selected as default.

    For interested parties: Resetting the printing system solved the problem, cleanly and neatly.
    I have been advised to use this feature with discretion however, as it truly does indeed reset the entire printing system.

  • IPhone: App crashes on one customer's device

    I have an odd problem here. I've sold about 2000 units of my app so far and all is fine, except for one customer that says it crashes on start up. He's using the same device I have: Touch with 2.1, not hacked. One of the beauties of developing for this platform is the stability and that everyone's device is like everyone elses. So does anyone have ideas as to what could be causing something like this?

    Ask the customer to look for a crash report in ~/Library/Logs/CrashReporter/MobileDevice/'Device_Name', and have him email it to you. It may or may not be of help.
    It should be there if he has connected to iTunes since trying to run your App. Sorry, I don't know the equivalent directory in Windows.

  • Cannot access my iPhone apps in iTunes 10.4.1. None of the buttons is clickable...

    Anyone with the same problem? Any solutions?
    Thanks a lot!

    I am having the same problem. I have not been able to access the iTunes store for a couple months. I have no problem with my Internet connection and I have the latest version of iTunes 10.4.1 in Windows 7. When I begin to load the iTunes store I get nothing, not even an error message.

Maybe you are looking for

  • Which is Better Mac or Windows?

    Which is Better Mac or Windows? I got told that Windows is better than Mac. I need to know: 1. How long an iMac lasts and how long a Windows computer last till they die and not work. (Prediction will do) 2. Why lots of people hate Mac and say that Ma

  • Smartform output as PDF via mail

    hello, Where can I mention the device name for my requirement as mentioned in the subject. I found that system picks the default device in the user profile. How can I avoid that. I want to give a particular destination device name. Please help. Thank

  • Java Mapping with CDATA

    One simplest way is read the data element value as the string and ignore first  six or seven characters by using substring method or so... Use the return value string for parsing the values from respective tag element using parser or manually

  • 40735 WHEN-NEW-FORM-INSTANCE-TRIGGER raised unhandled exception ORA-06502

    After migrationg my form from 6i to 10g I am getting the 40735 WHEN-NEW-FORM-INSTANCE-TRIGGER raised unhandled exception ORA-06502 err msg. the field is a date field and should be automatically populated with sysdate- 365. but when i open the form to

  • Are Keywords etc. transferable from one computer to another?

    I'm working abroad at the moment using my laptop to manage my photos - usually at home I use another PC for my photography. If I organise my photos here by adding new keywords, ratings, metadata etc. are there any issues in transferring those criteri