Search Results

Search found 6 results on 1 pages for 'shreya'.

Page 1/1 | 1 

  • how to make UIAlertView with custom font , height and width?

    - by shreya
    Hi All, I want to show pop up of question with it's options. Each question have 3 options. Currently the text is not fitting in the UIAlertView. My UIalertView is in landscape mode. my questions are, 1) How to change the font and font size of UIAlertView message and Button? 2) How to increase the height and width of UIAlertView? OR please suggest me any other way , by which I implement the same pop up. Thanks .

    Read the article

  • UItextfield text alignment issue in cocos2D iPhone

    - by shreya
    Hi All, Please take a look of the following screen shot. Here is my code, I am using cocos2D CGAffineTransform transform = CGAffineTransformMakeRotation(3.14159/2); _view = [[CCDirector sharedDirector]openGLView]; // Input the user name _nameField = [[UITextField alloc]initWithFrame:CGRectMake(130.0, 270.0, 200.0, 30.0)]; _nameField.transform = transform; _nameField.adjustsFontSizeToFitWidth = YES; _nameField.textColor = [UIColor blackColor]; [_nameField setFont:[UIFont fontWithName:@"Arial" size:14]]; _nameField.placeholder = @"<Enter Your Name>"; _nameField.backgroundColor = [UIColor clearColor]; _nameField.autocorrectionType = UITextAutocorrectionTypeNo; _nameField.autocapitalizationType = UITextAutocapitalizationTypeAllCharacters; _nameField.textAlignment = UITextAlignmentCenter; _nameField.keyboardType = UIKeyboardTypeDefault; _nameField.returnKeyType = UIReturnKeyDone; _nameField.tag = 0; _nameField.delegate = self; _nameField.clearButtonMode = UITextFieldViewModeNever; _nameField.borderStyle = UITextBorderStyleRoundedRect; [_view addSubview:_nameField]; The problem is the text is typing on the top of the text field. I want it to be in the middle not to top.

    Read the article

  • iPhone app distribution build warning

    - by shreya
    Hi All, I build my app with distribution profile. Every thing goes fine except one warning, warning: 'The Validate Built Product build setting was not enabled when building for Distribution.' I find it on Google but get nothing. Is this warning affect my distribution build.? Can some one explains what that warning means.? I followed all steps mentioned at developer portal. Thanks In Advance.

    Read the article

  • Distribution profile and App Store Submission

    - by shreya
    Hi All, I developed a iPhone application for my client. I have my own developer account, so I created the Ad Hoc and App Store Distribution profiles by using my account. Now the thing is, my client want to submit the app by using his account. He has his own account. I want to know, Should I give the distribution build, which is made by using my distribution profile? OR Should I need the distribution profile created using client's account? Thanks in advance.

    Read the article

  • Animation management in COCOS2D iphone.

    - by shreya
    Hi All, I have near about 255 image frames for background animation, 99 frames of enemy sprite and 125 frames of player sprite. All animations are running simultaneously on the screen. That is background animation is running and 4-5 enemies are on the screen are present at a time, also player is there at the same time. Take a look at the code below, CCAnimation *_enemyAnimation = [CCAnimation animationWithName:@"Enemy" delay:0.1f]; for (int i = 1; i<99; i++) { [_enemyAnimation addFrameWithFilename:[NSString stringWithFormat:@"enemy %02d.jpg",i]]; } id action1 = [CCAnimate actionWithAnimation: _enemyAnimation]; [_enemySprite runAction:[CCRepeatForever actionWithAction: action1]]; [self schedule:@selector(BackToGameLogic:) interval:5.0]; This makes my game too slower and consumes memory about 65MB in the allocations. How should I manage my animations so there will be improvement in speed and memory consumption will be reduced?. Please suggest me the way. Thanks.

    Read the article

1