Bug 16893 - [iOS7]A white strip appears after clicking on AlertView->CustomAlertView for iOS sample StandardControl
Summary: [iOS7]A white strip appears after clicking on AlertView->CustomAlertView for ...
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: 7.0.6.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: 7.0.6
Assignee: Amy Burns
URL:
Depends on:
Blocks:
 
Reported: 2013-12-19 07:41 UTC by Prashant manu
Modified: 2014-01-08 02:20 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Prashant manu 2013-12-19 07:41:01 UTC
Steps to reproduce:
1. Open iOS mobile sample 'StandardControl'
2. Debug or run the sample
3. Click AlertView->CustomAlertView.

Actual Result: A while strip appears on iOS7 device and simulator while with iOS 6.1. and 6.0 this is showing a spinner with text 'Performing stuff'.

Expected Result: Performing stuff should displayed after clicking on AlertView->CustomAlertView.

Supplement info:
http://screencast.com/t/0tuqQ4bg

Environment details:
All Mac
X.S 4.2.3(build 23) git-067989d9274b9f0fbd959336e60f8a5c1a75bc48
Mono 3.2.6
X.iOS 7.0.6-166

Regression Status: Same behavior happening with stable X.iOS 7.0.4-209
Comment 1 GouriKumari 2014-01-02 14:17:22 UTC
In iOS 6.0 device : On clicking Custom Alert View button, LayOutSubViews method in  ActivityIndicatorAlertView.cs is called, activityindicator spinner is drawn and then the the method to dismiss alertView is called. .

In iOS7.0 device: On clicking  Custom Alert View button, LayOutSubViews method in  ActivityIndicatorAlertView.cs is skipped.  A white rectangular box is displayed and then the the method to dismiss alertView is called. 

@Bryan / @Craig

I am not able to figure out why LayoutSubViews method is not being called in iOS7.0.  Could one of you take a look at this bug.

Test Env: 
Xamarin.iOS
Version: 7.0.4.209 (Enterprise Edition)
Hash: 23a0827
ipodtouch 6.0/7.0.4
Comment 2 Amy Burns 2014-01-07 09:44:24 UTC
http://stackoverflow.com/a/18790255/2707772 - It seems that Apple have removed custom views on alerts in iOS7. I've updated the sample to reflect this.
Comment 3 Nischal 2014-01-08 02:20:12 UTC
We have checked this issue on iOS7 and it is working fine. Now it shows "Custom alert views Deprecated on iOS7" message. 
Screencast for this: http://screencast.com/t/311zH21xH

Environment details:
All Mac
X.S 4.2.3(build 29) git-01a163766fd2b7576649aade21ad822aa3485aa6
Mono 3.2.6
X.iOS 7.0.6-166