Re: Removing unrelated view shrinks items in UIToolbar
Re: Removing unrelated view shrinks items in UIToolbar
- Subject: Re: Removing unrelated view shrinks items in UIToolbar
- From: Kyle Sluder <email@hidden>
- Date: Tue, 21 Jan 2014 17:37:14 -0800
On Tue, Jan 21, 2014, at 05:08 PM, Rick Mann wrote:
> I have an iPad app with a custom main view controller that contains a
> UIToolbar. Within the main view, but outside the toolbar, and with no
> constraints related to the toolbar, I have another view that I use for
> debugging purposes.
>
> In production versions of the app, in the main view controller's
> -viewDidLoad method, I remove that debugging view.
>
> When that happens, the UIBarButtonItem items in my toolbar have their
> text shrunken dramatically.
>
> Subsequent operations that might interact with the toolbar seem to
> restore the text size, although I'm not sure what it is, exactly (I do
> some stuff with setUserInteractionEnabled on the toolbar, but I don't add
> or remove items).
Are you linking against the iOS 6 or iOS 7 SDK? I've seen this kind of
behavior a lot more in iOS 6 apps running on iOS 7 than I have in iOS
7-native apps.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden