简体   繁体   中英

“show as popover” is not coming while dragging from one view controller to another view controller in xcode?

I want to show a popover in my iPad app. but while dragging from one view controller to another in Xcode 8 . it is giving me only three options segue ,modal and custom.

It is not showing show as popover .

I have attached image url for my problem.

What should i do?

在此处输入图片说明

I think you are not using "Size classes"

So goto your Storyboard select any ViewController and then goto right side window select "Show the File Inspector" option in which check checkboxes named: * Use AutoLayout * Use Size Classes

like this screenshot

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM