跨平臺移動端開發,NativeScript 1.2.0 發布

pm45e 10年前發布 | 6K 次閱讀 NativeScript

NativeScript 可以使用 Javascript,CSS, XML 創建真正的 Native 跨平臺應用,支持 iOS Android,NativeScript 將您的跨平臺代碼翻譯成目標平臺的代碼。

UI 使用 XML 描述,CSS 樣式,在編譯時將 UI 轉化成本地原生代碼,最終得到正在的 Native 原生應用。

跨平臺移動端開發,NativeScript 1.2.0 發布

NativeScript 1.2.0 發布,此版本最重要的改進:

(#304) ActionBar/NavigationBar 現在使用 page.actionBar 定義,而不是 page.optionsMenu

其他改進:

  • (#393) Create application.android instance immediately and move all android-specific events to application.android.

    </li>

  • (#391) Implement cancellable back button pressed for Android.

    </li>

  • (#304) Expose additional properties of NavBar/ActionBar

    </li>

  • (#294) Add an optional fullscreen parameter to Page.showModal method.

    </li>

  • (#263) Provide per page option for manipulating NavigationBar

    </li>

  • (#191) Extend the set of support CSS properties in {N}

    </li> </ul>

    Bug 修復

    • (#423) Showing a modal page from another modal page results in error on iOS.

      </li>

    • (#422) Login dialog - iOS7: loginResult.userName returns password as a value instead of username

      </li>

    • (#421) Page.showModal seems completely broken in IOS

      </li>

    • (#406) Prompt dialog - iOS7: okButton returns result equal to false, cancelButton returns result equal to true

      </li>

    • (#405) FPS module will now correctly count frames while scrolling in iOS

      </li>

    • (#395) dialogs.action() causes app to crash on iPad

      </li>

    • (#372) Simple location app doesn't perform until real gps apps are also running

      </li>

    • (#368) [Screen Builder] Model is not updated when an observable object property is used in two text fields

      </li>

    • (#343) Not returning a view on the view parameter of the creatingView event handler of the placeholder crash the application

      </li>

    • (#322) Creating an Observable by passing a JSON object in the constructor does not define the respective properties on the Observable object instance.

      </li>

    • (#285) visibility property inconsistent with CSS

      </li>

    • (#270) BackgroundImage property does not respect the CornerRadius when set to Border.

      </li>

    • (#261) WebView crash when navigating back

      </li> </ul>

      下載: