In the code below the _doneButtonSize variable is set based on _doneButtonImage.size after just confirming that _doneButtonImage is NULL. Therefore the size will always have a width and height of zero unless using a custom done button image. This is fixed by using the frame which is set based on orientation.
In the code below the
_doneButtonSize
variable is set based on_doneButtonImage.size
after just confirming that_doneButtonImage
isNULL
. Therefore the size will always have a width and height of zero unless using a custom done button image. This is fixed by using the frame which is set based on orientation.