Discussion on Celebration Cards - iOS Swift App

22 comments found.

Miccy

Miccy Purchased

Hi i sent mail regarding error please do needful

Hi,

if you are the one who sent this:

CardViewController.SWIFT

LINE NO 311 :

mainViewBottomConstant = (isPortrait) ? -40 : (UIDevice.current.userInterfaceIdiom == .pad) ? -(mainWrapperView.bounds.height - ((mainWrapperView.bounds.width - 60) * 0.66)) : -(mainWrapperView.bounds.height - ((mainWrapperView.bounds.width - 60) * 0.66)) / 2.0


I’m answering you here so other people can see it too in case they need it. Change this line to these ones:

let condition1 = -(mainWrapperView.bounds.height - ((mainWrapperView.bounds.width - 60) * 0.66)) let condition2 = -(mainWrapperView.bounds.height - ((mainWrapperView.bounds.width - 60) * 0.66)) / 2.0 mainViewBottomConstant = (isPortrait) ? -40 : ((UIDevice.current.userInterfaceIdiom == .pad) ? condition1 : condition2)

Does this app support Xcode 8 and iOS 10?

Yes, it does :)

by
by
by
by
by
by