IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  iOS Autorotate

    Posted Fri November 16, 2012 01:17 PM

    Hi all

    I am having an issue with my current iOS builds. All my projects seem to
    build with the autorotate feature enabled I think this was a feature
    added in a recent update to wmMD as I don’t remember it occurring in
    older versions. I was just wondering if anyone knew how to disable this
    feature either in xcode or before compile in wmMD.

    Kind Regards,

    Kareem.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General
    #mobile


  • 2.  RE: iOS Autorotate

    Posted Fri November 16, 2012 01:32 PM

    Hi Kareem,

    I don’t believe this feature is enabled by default. If you try out
    NativeUIDemo, for example, the iPhone build does not rotate. The two
    lines that are present in the various other Dynamic_Orientation targets
    enable the feature. Without them, the build should not rotate.

    Regards,

    Nick.


    #mobile
    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 3.  RE: iOS Autorotate

    Posted Fri November 16, 2012 01:37 PM

    Hi Kareem,

    Further on this, I believe you can add
    project.handset.adapttoorientationchange=false to either your handset
    target file (if you only want it for one particular target) or to the
    default file to specify that it shouldn’t auto-rotate.

    More info on this property can be found on page 7 of the
    Mobile_Designer_Properties.pdf in the ${MOBILE_DESIGNER_INSTALL}/Docs
    directory.

    Spencer


    #mobile
    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 4.  RE: iOS Autorotate

    Posted Fri November 16, 2012 01:42 PM

    Thanks Spencer and Nick,

    I seem to be having the issue even with the native samples so I may be
    doing something wrong. I’ll check again and make sure I am selecting the
    appropriate target to build for and also I’ll try adding in the lines
    you suggested spencer.

    Thanks again for your support.

    Kind regards,

    Kareem.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB
    #mobile


  • 5.  RE: iOS Autorotate

    Posted Mon November 19, 2012 06:02 AM

    Hi Guys,

    So I have tried both these solutions but I am still facing the
    autorotate issue. I’m not sure if it is actually applying autorotate or
    some different function as when the screen is rotated the elements do
    not fit to the new orientation and when rotating back to portrait part
    of the screen appears to slide of the bottom. I also included some
    screenshots to help demonstrate.

    I’m still not sure if this is an issue affecting just me or if something
    has changed perhaps in the latest iOS sdk which is causing this. The
    target device I am building for is iOS_Apple_iPhone4 and I am using OS X
    10.8.2 with Xcode 4.5.2.

    Kind Regards,

    Kareem.


    #mobile
    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: iOS Autorotate

    Posted Mon November 19, 2012 07:07 AM

    Hi Kareem,

    Can you send me the generated cpp_edit folder (with XCode project
    inside) that you’ve created that results in this. I’m not seeing on the
    builds I’m making here.

    Regards,

    Nick.


    #Integration-Server-and-ESB
    #mobile
    #webMethods-General
    #webMethods