-4

I want informatin about how to make native IOS app which should be responsive design? If it is possible then how to make it. If it is not possible then how to make it possible with other way.

I have information about:

  1. PhoneGap but i want to use native
  2. swift framework.

In between 1) and 2) which one should best and perfcet way to make resposive design?

2

2 Answers 2

2

To create responsive layout, you need to use autolayout / constraint.

Reference: http://blog.revivalx.com/2014/10/22/swift-autolayout-tutorial/

If you want to use native, you can integrate native functionality with hybrid application with develop a custom cordova plugin.

Reference: http://blog.revivalx.com/2014/03/11/ios-adding-native-functionality-to-hybrid-application-with-apache-cordova-plugin/

So far phonegap not support swift yet. It's support only for objective-c (iOS). If you want you need to create a bridging header to communicate between swift and objective-c.

Reference: http://blog.revivalx.com/2014/12/30/bridging-between-swift-and-objective-c-in-the-same-project/

Let me know for more clarification.

1

To achieve the "equivalent" of web responsive design in a native way, you have to use Auto Layout concepts provided by the iOS SDK.

Other way, if you want to keep a web language, you'll soon be able to develop native applications in JavaScript with solutions like React Native (still a private beta for now...)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.