Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 27, 2013, 09:36 AM   #1
mikezang
macrumors 6502a
 
Join Date: May 2010
Location: Tokyo, Japan
UISplitViewController in iPhone

I want to create a univeral app, use split view controller in iPad, but in iPhone, I don't want to use Navigation controller, instead I want to use a popover to popup master view controller, like in portrait mode of iPad.

Is this possible? Please give some suggestion, thanks a lot.
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60
MyApp: Market Event v1.9.2
mikezang is offline   0 Reply With Quote
Old Feb 27, 2013, 10:27 AM   #2
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Should your thread title be "UIPopoverController on iPhone" then?
__________________
dejo is online now   0 Reply With Quote
Old Feb 27, 2013, 10:31 AM   #3
mikezang
Thread Starter
macrumors 6502a
 
Join Date: May 2010
Location: Tokyo, Japan
Quote:
Originally Posted by dejo View Post
Should your thread title be "UIPopoverController on iPhone" then?
Yeah, my title is not exact, but I am using popover in iPhone, that is not what I want to know.

As you know SplitView controller can be config to use popover both landscape and portrait mode, I want to this can be used in iPhone, a special SplitView controller for iPhone.
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60
MyApp: Market Event v1.9.2
mikezang is offline   0 Reply With Quote
Old Feb 27, 2013, 04:59 PM   #4
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
Neither UISplitViewController or UIPopoverController are available on the phone.

You could possibly build your own popover that contained a view controller but didn't take up the entire screen. You might want to look at the View Controller containment APIs to implement this in a compatible way.

I haven't done this and I doubt that it's simple.
PhoneyDeveloper is offline   0 Reply With Quote
Old Feb 27, 2013, 07:16 PM   #5
mikezang
Thread Starter
macrumors 6502a
 
Join Date: May 2010
Location: Tokyo, Japan
I got idea, I have to create a custom container view controller that has two view controllers, but the master view controller should keep hide and show in a popover when on iPhone device.
mikezang is offline   0 Reply With Quote
Old Feb 27, 2013, 07:17 PM   #6
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by mikezang View Post
I got idea, I have to create a custom container view controller that has two view controllers, but the master view controller should keep hide and show in a popover when on iPhone device.
UIPopoverController is not supported on iPhone.
__________________
dejo is online now   0 Reply With Quote
Old Feb 27, 2013, 07:21 PM   #7
mikezang
Thread Starter
macrumors 6502a
 
Join Date: May 2010
Location: Tokyo, Japan
That's not problems because I am using popover in iPhone, thiugh it is not provided by Apple.
mikezang is offline   0 Reply With Quote
Old Feb 27, 2013, 09:54 PM   #8
MattInOz
macrumors 68030
 
MattInOz's Avatar
 
Join Date: Jan 2006
Location: Sydney
If your happy with 3rd party UIContainers why not go straight to one of Splitview like containers that work with iPhone. There are few about that are open source based on Tweeter or Facebook?
__________________
There is no such thing as "Collective Wisdom"
[ iPhone 5s, iPad Mini, 13" MacBookPro 2.7Ghz, 27"Al iMac i7, Black MacBook 13"]
MattInOz is offline   0 Reply With Quote
Old Feb 28, 2013, 01:29 AM   #9
mikezang
Thread Starter
macrumors 6502a
 
Join Date: May 2010
Location: Tokyo, Japan
Can you tell me which one?
mikezang is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Apple Considering 4.7" and 5.7" Screens for 2014 iPhone Models, iPhone 5S and Low-Cost iPhone Due in September MacRumors MacRumors.com News Discussion 601 Sep 23, 2014 03:54 PM
Game Cheat for iPhone 3GS, iPhone 4, iPhone 4S, iPhone 5, iPod touch (3rd generation) Mjasa iPhone and iPod touch Apps 0 Sep 14, 2013 07:25 AM
New Colors Rumored for iPhone 5S and Lower-Cost iPhone, Dual LED Flash for iPhone 5S? MacRumors MacRumors.com News Discussion 125 May 28, 2013 11:41 PM
Game Cheat for iPhone 3GS, iPhone 4, iPhone 4S, iPhone 5, iPod touch (3rd generation) mja050 iPhone and iPod touch Apps 0 Apr 8, 2013 08:22 AM

Forum Jump

All times are GMT -5. The time now is 11:39 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC