Mac

  • ,

    UIViewController receive message order

    see http://stackoverflow.com/questions/9539676/uiviewcontroller-returns-invalid-frame {{0, 0}, {768, 1004}} viewDidLoad {{0, 0}, {768, 1004}} shouldAutorotateToInterfaceOrientation: {{0, 0}, {768, 1004}} shouldAutorotateToInterfaceOrientation: {{0, 0}, {768, 1004}} viewWillAppear: {{0, 0}, {768, 1004}} shouldAutorotateToInterfaceOrientation: {{0, 0}, {768, 1004}} shouldAutorotateToInterfaceOrientation: {{0, 0}, {768, 1004}} willRotateToInterfaceOrientation:duration: {{0, 0}, {1024, 748}} viewWillLayoutSubviews {{0, 0}, {1024, 748}} layoutSubviews {{0, 0}, {1024, 748}} viewDidLayoutSubviews {{0, 0}, {1024,…

    続きを読む

  • ,

    iOS PEM CREATE COMMAND

    openssl pkcs12 -in xxx.p12 -out yyy.pem -nodes -clcerts

    続きを読む

  • , , ,

    nibを探せないとき

    nibファイルを探せないエラーが発生し、iOS7では正常に動作した。 https://github.com/kstenerud/iOS-Universal-Framework/issues/152 resources load in iOS 7 but not iOS 6 No milestone No one is assigned When running in the simulator, I’m adding the embedded framework to a test app. When run under 7.0.3, it runs with no issues. When run under 6.1 or less, it’s crashing with the following: ‘NSInternalInconsistencyException’, reason: ‘Could not…

    続きを読む

  • ,

    UIView – viewDidLoadがinitWithNibnameより先に呼ばれるような気がしたら。。。

    UIViewの initializeで initが終了する前にあるいは先にviewDidLoadがよばれる気がしたら super classのinit内部でself.viewなどでviewにアクセスしていないかを確認. self.viewをよぶことによってsuper classのinitializerで viewDidLoadがよばれてしまう。

    続きを読む

  • ,

    iOS Tips for beginner

    ネットサーフィングしながらかき集めたTIPS. いつか誰かの役に立つはず。(自分含む) Open an URL in Safari Hide the status bar Dial a Phone Number (iPhone Only) Launch the Apple Mail stop responding to touch events active the touch events Show the network Activity Indicator Hide the network Activity Indicator Prevents iPhone goes into sleep mode Display an alert window Get the path to the…

    続きを読む