MYSTERY ZILLION တွင် English သို့မဟုတ် Unicode ဖြင့်သာ အသုံးပြုခွင့်ရှိသည်။ ဇော်ဂျီ ၊ ဧရာ စသည်တို့ကို အသုံးပြုခွင့် မရှိ။ Unicode Guide ကို ဒီမှာ Download ချပါ။ Zawgyi to Unicode Converter
Don't share ebook or software if nobody request. You can find free book websites on here. We are welcome for discussion or asking question instead.
change landscape view in storyboard when device rotate
  • Vote Up0Vote Down lynlyndrupallynlyndrupal
    Posts: 20Registered Users
    ကျွှန်တော်က storyboard မှာ viewcontroller နှစ်ခုရှိတယ်ခင်ဗျာ့ စ run ရင် ပထမ viewcontroller က portrait နဲတက်လာတယ် အဆင်ပြေပါတယ်။ပထမ viewcontroller ကနေ ဒုတိယ viewcontroller ကိုရောက်ရင် စတက်တက်ချင်း portriat view ပါ အဆင်ပြေပါတယ် ဒါပေမယ့် device rotate လုပ်ရင်တော့ ဒုတိယ viewcontroller ကိုပဲ landscape or portrait ပြောင်းလဲချင်လို့ပါ။ကျွှန်တော် try တာ အဆင်မပြေလို့ပါ ကူညီပါအုံး။
  • 4 မှတ်ချက်များ sorted by
  • Vote Up0Vote Down saturngodsaturngod
    Posts: 4,596Administrators
    for iOS 6 , try to set second orientation like

    - (BOOL) shouldAutorotate
    {
    return YES;
    }

    -(NSUInteger)supportedInterfaceOrientations
    {
    return UIInterfaceOrientationMaskLandscapeRight; // add any other you want
    }


    for First view

    - (BOOL) shouldAutorotate
    {
    return YES;
    }

    -(NSUInteger)supportedInterfaceOrientations
    {
    return UIInterfaceOrientationMaskPortrait; // add any other you want
    }



    For iOS 5, you need to use

    -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
  • Vote Up0Vote Down lynlyndrupallynlyndrupal
    Posts: 20Registered Users
    In iOS6, When run error show ..

    2013-01-28 10:41:56.700 lpl[503:c07] *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'
    *** First throw call stack:
    (0x1c8d012 0x10cae7e 0x1c8cdeb 0xff702 0xfa046 0xfa246 0x2fe44c 0xfc4f3 0xfc777 0xd06733f 0x2c7d 0x10de705 0x15920 0x158b8 0xd6671 0xd6bcf 0xd5d38 0x4533f 0x45552 0x233aa 0x14cf8 0x1be8df9 0x1be8ad0 0x1c02bf5 0x1c02962 0x1c33bb6 0x1c32f44 0x1c32e1b 0x1be77e3 0x1be7668 0x1265c 0x263d 0x2565 0x1)
    libc++abi.dylib: terminate called throwing an exception
    (lldb)

  • Vote Up0Vote Down saturngodsaturngod
    Posts: 4,596Administrators
    @lynlyndrupal , you should enable orientations in Target Properties

    image
  • Vote Up0Vote Down lynlyndrupallynlyndrupal
    Posts: 20Registered Users
    very thanks a lot. this is work well. :)
ဆွေးနွေးမေးမြန်းခြင်းစတင်ရန်

မင်္ဂလာပါ!

လှိုက်လှဲစွာကြိုဆိုပါသည်။ ယခု ပထမဆုံးအကြိမ် ရောက်ဖူးခြင်းဖြစ်ပါသလား? ဝင်ရောက် ဆွေးနွေး မေးမြန်းလိုပါလျှင် အောက်တွင်ဖော်ပြထားသော button များမှတဆင့် ဝင်ရောက် ဆွေးနွေးနိုင်သကဲ့သို့ အဖွဲ့ဝင်အသစ်အနေဖြင့်လည်း လျှောက်ထားနိုင်ပါတယ်။

Facebook ဖြင့်ဝင်ရန် Google ဖြင့်ဝင်ရောက်ရန် OpenID ဖြင့်ဝင်ရောက်ရန် Twitter ဖြင့်ဝင်ရောက်ရန်

အမျိုးအစားများ

In this Discussion