19 Aralık 2013 Perşembe

UIBarButtonItem leftBarButtonItem width issue

if you want to add UIBarButtonItem to navigationcontroller bar 

- (UIBarButtonItem *)leftMenuBarButtonItem 
    UIImage * buttonImage;  
    buttonImage =[UIImage imageNamed:@"img-logo.png"];
    UIButton *toggleKeyboardButton = [UIButton buttonWithType:UIButtonTypeCustom];
    toggleKeyboardButton.frame=CGRectMake(0, 0,37, 37);
    [toggleKeyboardButton setImage: buttonImage forState:UIControlStateNormal];
    [toggleKeyboardButton addTarget:self action:@selector(rightSideMenuButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem * barBtn2=[[UIBarButtonItem alloc] initWithCustomView:toggleKeyboardButton];
    return barBtn2;



self.navigationItem.leftBarButtonItem = [self leftMenuBarButtonItem];

12 Aralık 2013 Perşembe

Provisioning Portal on new computer

Really I have problem everytime about Provisioning Portal. I don't know why ? 

Yea Today I use new computer and  I ınstalled xcode .
I get this error on xcode : The identity 'iPhone Developer:  doesn't match any valid, non-expired certificate/private key pair in your keychains

I follow this artıcle and helped me

Link: http://mobile.tutsplus.com/tutorials/iphone/how-to-test-your-apps-on-physical-ios-devices/

22 Kasım 2013 Cuma



Merhaba , 

Ben iphone ve ipad uygulama geliştiriyorum. 
isteğinize uygun iphone uygulamaları geliştirebilirim. 

iletişim için: 


Çalışmalar : 

14 Kasım 2013 Perşembe

source control on xcode 5

Really wonderful things using git .Because sometimes you are writing  false code and in this time , you need to revert your code .

if you want to use source control on xcode , look this articles:


and bitbucket :

I just was creating a new iOS project and needed to share it with a dev team. I wanted it private so I used bitbucket. 

Here is how I got git working from within xCode 5.

  1. I generated a new project and made sure I selected the option to create a local repository.
  2. I created a bitbucket project using their web interface.
  3. I opened the mac Terminal application.
  4. Here are the steps in Terminal:
Then I added a remote to xCode.
  1. Select: Source Control > projectname – Master > Configure projectname
  2. Click the Remotes selection at the top of the Configure window
  3. Click the + symbol in the bottom left of the window
  4. Select Add New Remote
  5. Add any name you prefer
  6. Paste in the https url used to add the remote (https://bitbucketusername@bitbucket.org/….)
  7. Select Add remote
Then I did a commit
  1. Select Source Control > Commit
  2. Added an initial commit message to the bottom of the commit window
Last of all I did a push
  1. Select Source Control > Push
And now everything is all hooked up and working. I can add, change, and delete files and then do commits and pushes

Really this article will help you .

Regards .

9 Kasım 2013 Cumartesi

sideswipe menu like the one in Facebook's new iOS app(Reveal Menu)

if you want to do like facebook Reveal Menu , You can use  MMDrawerController.
it's really good third part library for using your iphone and ipad app. it's support iphone ipad app

you can find blow  MMDrawerController library url


source : http://stackoverflow.com/questions/7989020/whats-the-best-way-to-develop-a-sideswipe-menu-like-the-one-in-facebooks-new-i

31 Ekim 2013 Perşembe

How to support both iPad and iPhone retina graphics in universal apps

So for devices without retina:
ImageName.png - For iPhone/iPod
ImageName~ipad.png -- For iPad
For devices with retina display:
ImageName@2x.png - For iPhone/iPod
ImageName@2x~ipad.png -- For iPad
And you can still use @2x if your iPhone high resolution image and iPad high resolution image have the same size.
To load the image just use [UIImage imageNamed:@"ImageName.png"];
I just tested it on iOS simulator for iOS 5.1, 5.0 and 4.3.
By the way why you should use @2x and nothing more.
The main thing because you shouldn't use the same graphics on iPhone and iPad, because iPhone and iPad has different size. And if you will use the same size the graphics will already done for you iPad retina display (if you previously use iPhone retina display). If you will images with different size, so you will use different image names for iPhone and iPad. So in this side you need just add @2x suffix. That's why you should use just @2x suffix. - these are my thoughts.

Source : http://stackoverflow.com/questions/9611061/how-to-support-both-ipad-and-iphone-retina-graphics-in-universal-apps