ios-universal-app

Use UITabBarViewController in portrait but UISplitViewController in landscape in a Universal app

血红的双手。 提交于 2019-12-03 16:16:15
I want to use a UITabBarViewController when on iPhone in portrait and a UISplitViewController when on iPhone 6/6+ in landscape or iPad in either orientation. When on iPad or iPhone 6/6+ landscape, the tab bar items present themselves as UITableViewCells in the topmost view controller. I would really like for the calling object to not have to worry about device or orientation, but instead pass as input the view controllers that are in the tab bar on iPhone in portrait and in the root view controller on iPad and iPhone 6/6+ in landscape. Here's a visual representation of what I mean: I think it

Do we need to use 2 Storyboard for a Universal app?

微笑、不失礼 提交于 2019-12-03 13:33:35
问题 I have a project for iPhone and iPad. The iPad needs a split view controller. Do we create two separate storyboards? One for iPhone (using autolayout we can support all devices) and two for iPad. My doubt is the difference it only in initial view. The inside views repeats. How will be your approach with storyboard ? 回答1: No need for two storyboards any more in iOS 8! We can use Adaptive UI in order to tailor the same storyboard all different sizes of iPad and iPhone. You can find a nice

Universal application with Portrait orientation for iPhone and Landscape orientation for iPad

半世苍凉 提交于 2019-12-03 04:43:41
问题 I'm creating a Universal application using Swift. I have used Storyboard and Auto-Layouts. Requirement is of creating a universal application which will support Portrait orientation only for iPhone and Landscape orientation only for iPad. I have developed UI for iPhone and now I will be starting iPad UI. Also UI created for iPhone is not same as UI created for iPad, both UI's are quite different. I'm thinking of to create separate storyboards for iPhone and iPad. Is there any proper way to

Upgrade My free app form Universal to iPhone only

醉酒当歌 提交于 2019-12-02 20:49:24
问题 I release my free app to appStore and it's version 1.0 , it is an Universal app . Now I want to release version 1.1 to appStore , and I upgrade it to iPhone only . Does appStore will reject me ? I have read the similar problem , but it is 2011 , I want to know in 2014 , it will be also reject? 回答1: You can't upgrade your app from universal to iphone/ipad only. During Validation time you will get a error. Also you can see this document: https://developer.apple.com/library/ios/qa/qa1623/_index

Universal application with Portrait orientation for iPhone and Landscape orientation for iPad

空扰寡人 提交于 2019-12-02 19:02:33
I'm creating a Universal application using Swift. I have used Storyboard and Auto-Layouts. Requirement is of creating a universal application which will support Portrait orientation only for iPhone and Landscape orientation only for iPad. I have developed UI for iPhone and now I will be starting iPad UI. Also UI created for iPhone is not same as UI created for iPad, both UI's are quite different. I'm thinking of to create separate storyboards for iPhone and iPad. Is there any proper way to achieve this? Go to the info.plist file and add an array with key "Supported interface orientations

Upgrade My free app form Universal to iPhone only

孤人 提交于 2019-12-02 11:48:37
I release my free app to appStore and it's version 1.0 , it is an Universal app . Now I want to release version 1.1 to appStore , and I upgrade it to iPhone only . Does appStore will reject me ? I have read the similar problem , but it is 2011 , I want to know in 2014 , it will be also reject? You can't upgrade your app from universal to iphone/ipad only. During Validation time you will get a error. Also you can see this document: https://developer.apple.com/library/ios/qa/qa1623/_index.html 来源: https://stackoverflow.com/questions/25719539/upgrade-my-free-app-form-universal-to-iphone-only

How to get UITextField Tap Event?

谁说我不能喝 提交于 2019-12-01 02:47:06
I am trying to show UIAlertView on Tap or Click of UITextField for both IPad and IPhone. I make an IBAction and Attach it with Tap Down event of UITextField. But its not working correctly, means not always, in case of iphone and not working in-case of iPad - (IBAction) TopuchState { //function code } please help How could I do this. Try adding a target for when a particular text field begins editing ( UIControlEventEditingDidBegin ): [textField1 addTarget:delegate action:@selector(textField1Active:) forControlEvents:UIControlEventEditingDidBegin]; As you are already subscribed to be

How to get UITextField Tap Event?

谁都会走 提交于 2019-11-30 21:41:12
问题 I am trying to show UIAlertView on Tap or Click of UITextField for both IPad and IPhone. I make an IBAction and Attach it with Tap Down event of UITextField. But its not working correctly, means not always, in case of iphone and not working in-case of iPad - (IBAction) TopuchState { //function code } please help How could I do this. 回答1: Try adding a target for when a particular text field begins editing ( UIControlEventEditingDidBegin ): [textField1 addTarget:delegate action:@selector

Universal iPhone/iPad application debug compilation error for iPhone testing

跟風遠走 提交于 2019-11-26 15:48:43
I have written an iPhone and iPad universal app which runs fine in the iPad simulator on Xcode, but I would now like to test the iPhone functionality. I seem unable to run the iPhone simulator with this code as it always defaults to the iPad? Instead I tried to run on the device and as it begins to run I get the following error: dyld: Symbol not found: _OBJC_CLASS_$_UISplitViewController Referenced from: /var/mobile/Applications/9770ACFA-0B88-41D4-AF56-77B66B324640/Test.app/Test Expected in: /System/Library/Frameworks/UIKit.framework/UIKit in /var/mobile/Applications/9770ACFA-0B88-41D4-AF56

Universal iPhone/iPad application debug compilation error for iPhone testing

依然范特西╮ 提交于 2019-11-26 04:37:36
问题 I have written an iPhone and iPad universal app which runs fine in the iPad simulator on Xcode, but I would now like to test the iPhone functionality. I seem unable to run the iPhone simulator with this code as it always defaults to the iPad? Instead I tried to run on the device and as it begins to run I get the following error: dyld: Symbol not found: _OBJC_CLASS_$_UISplitViewController Referenced from: /var/mobile/Applications/9770ACFA-0B88-41D4-AF56-77B66B324640/Test.app/Test Expected in: